Opened 7 years ago
Closed 7 years ago
#1831 closed defect (fixed)
Bundles registering file formats are always imported on startup
Reported by: | Conrad Huang | Owned by: | Greg Couch |
---|---|---|---|
Priority: | major | Milestone: | 0.9 |
Component: | Core | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Bundles registering file formats are always imported on startup even if they do not have custom initialization or managers. Brief diagnosis: on startup, the core asks for the list of formats and that triggers a check for whether there is a function associated with each format. The check requests for the file-open function from the bundle (rather than using only the cached bundle information) and causes the bundle to be imported.
Note:
See TracTickets
for help on using tickets.
Added has_(open|export)_func() that tests for existence of (open|export)_func without invoking the bootstrap function.