Opened 7 years ago

Closed 6 years ago

#1532 closed defect (fixed)

Improve deferring of subcommand registration

Reported by: Greg Couch Owned by:
Priority: blocker Milestone:
Component: Core Version:
Keywords: Cc: Conrad Huang
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

When a subcommand of a deferred command is registered, the parent command is expanded. So at startup, the bundle with the parent command is imported to do the command expansion. Ideally, that would not happen.

Current examples of parent commands are: "ui mousemode", "mousemode", "volume", and "color". They where found when fixing the code, that reports when a command is being replaced, to not complain when replacing a deferred command.

Change History (1)

comment:1 by Greg Couch, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.