Ticket #1160 (closed defect: fixed)
Opened 2012-05-09T12:37:53-05:00
Last modified 2012-06-18T15:08:19-05:00
Menu bar creation is slow
Reported by: | bdezonia | Owned by: | bdezonia |
---|---|---|---|
Priority: | major | Milestone: |
|
Component: | UI Framework | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | #1162, #1182 |
Description (last modified by curtis)
As part of addressing these limitations we need to improve the speed of duplicating the menu bars when Displays are created. Right now on the mac when displays are created a new menubar is created. This process takes a long time. One can see the issue by running Stack To Images. There is a long pause before windows appear on the screen. Removing the call to createMenuBar() in SwingUI::onDisplayCreated() improves the problem considerably.
Change History
comment:1 Changed 2012-05-09T12:47:16-05:00 by curtis
- Description modified
- Summary changed from Menu code needs some improvements to Menu bar creation is slow
comment:3 Changed 2012-05-11T15:59:07-05:00 by bdezonia
- Milestone changed from imagej-2.0.0-beta3 to imagej-2.0.0-beta2
comment:4 Changed 2012-05-16T10:20:30-05:00 by bdezonia
- Milestone changed from imagej-2.0.0-beta2 to imagej-2.0.0-beta3
comment:6 Changed 2012-06-15T13:58:47-05:00 by bdezonia
The current approach is to use the setDefaultJMenubar() command on the mac platform and not duplicate menus. That is partially committed to master at the moment. With this change Stack To Images is zippy. But it may not make it into final implementation.
comment:7 Changed 2012-06-18T15:08:19-05:00 by bdezonia
- Status changed from new to closed
- Resolution set to fixed
The default menubar approach was adopted. This bug is now fixed.