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 - Synching of menu presenters slows down menu showing
Summary: Synching of menu presenters slows down menu showing
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2007-07-10 14:27 UTC by _ rkubacki
Modified: 2009-11-02 11:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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