Hi Carsten, > What you have found is an optimization for the menu implementation. > Status updates are not very cheap and the current states of the menu > entries are not visible to the user. The menu contains about 300 entries > and can have a significant performance impact for status updates. > Therefore we decided to retrieve the status on demand, means when the > menu gets opened by the user. The menu implementation uses add- and > removeStatusListener for every menu item to retrieve the status and > updates the state. This optimization is not possible for toolbars as > they are visible all the time. I don't think that this optimization can > have a negative impact on a correct implementation. It's just an > implementation detail. The status is retrieved on demand and not updated > whenever a state changed.
Is it possible to start an update manually for a certain toolbar? Or is the only solution to change the menus transient as described in this snippet: http://codesnippets.services.openoffice.org/Office/Office.RemoveIterativeAndTransientMenubarItems.snip? Greetings, Tobias --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
