This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 109240

Summary: Synching of menu presenters slows down menu showing
Product: platform Reporter: _ rkubacki <rkubacki>
Component: ActionsAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED WONTFIX    
Severity: blocker CC: issues
Priority: P3 Keywords: PERFORMANCE
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description _ rkubacki 2007-07-10 14:27:59 UTC
DynaMenuModel updates all its menu items when menu is showing using call to DynamicMenuContent.synchMenuPresenters(). It
means: enabled/disabled state; label; icon; accelerator key are updated. Obviously this takes some time (the biggest
part is taken by repeated setting of icon).

Generally the whole synching seems to be an extra work for items in main menu as menu items here used to have listeners
attached to actions and were updated only when there was some change.
Comment 1 Milos Kleint 2007-07-23 07:23:06 UTC
the synching is done to have the the macosx menu updated correctly. AFAIK apart from setting the values, it also rips
out the items and reinserts them.
Comment 2 Milos Kleint 2008-11-19 13:38:30 UTC
reassigning to component owner.
Comment 3 Jiri Rechtacek 2008-11-21 16:17:16 UTC
Not in current plan to fix it
Comment 4 Quality Engineering 2009-11-02 11:03:12 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX