Bug 4648

Summary: MenuItem.setEnabled() always causes a redraw (1GDDCN2)
Product: [Eclipse Project] Platform Reporter: Nick Edgar <n.a.edgar>
Component: SWTAssignee: Steve Northover <steve_northover>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P4    
Version: 2.0   
Target Milestone: ---   
Hardware: All   
OS: Windows 2000   
Whiteboard:

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