Bug 4648 - MenuItem.setEnabled() always causes a redraw (1GDDCN2)
Summary: MenuItem.setEnabled() always causes a redraw (1GDDCN2)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: All Windows 2000
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Steve Northover CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-11 14:20 EDT by Nick Edgar CLA
Modified: 2002-07-04 13:11 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Edgar CLA 2001-10-11 14:20:34 EDT
MenuItem.setEnabled() always triggers a redraw, even if the state is unchanged.
	This causes the menu to flash when lazily populating submenus.

NOTES:

	NE (05/07/01 2:38:33 PM)
		Added workaround to com.ibm.jface.action.MenuManager.updateMenuItem()
		to check previous value.

	McQ (26/06/2001 1:31:44 PM) -
		If they could do this, then we ought to be able to.
Comment 1 DJ Houghton CLA 2001-10-29 16:28:09 EST
PRODUCT VERSION:

	Eclipse build 103

Comment 2 Steve Northover CLA 2002-07-04 13:11:57 EDT
Fixed > 20020704