Bug 8303

Summary: [Contributions] Actions not greyed out properly
Product: [Eclipse Project] Platform Reporter: Jeff Brown <jeff_brown>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: simon_arsenault
Version: 2.0Keywords: investigate
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Jeff Brown CLA 2002-01-23 15:55:31 EST
The "Show Source of Selected Element Only" and "Show Hover Text"
buttons are not greyed out correctly under some circumstances
when they are disabled.  This leads the user to believe that
they are still active, though they are not.

To see the problem:
Open a Java Editor.
Notice that both buttons are active.
Ensure both buttons are in the "pushed" state.
Switch to the Outline view by clicking inside it, or on its tab.
Notice that button borders vanish, but the button image has not
  been greyed out.
Switch back to the Java Editor.
Click on each button so that neither is in the "pushed" state.
Switch again to the Outline view.
Notice that the buttons are greyed out as they should be.

Looks like you're just missing a disabled (grey) version of the
image when the button is in the "pushed" state.
Comment 1 Erich Gamma CLA 2002-01-24 05:59:55 EST
As far is I know there is no support for a disabled-pushed image, but I agree 
that the current rendering of the pushed state is misleading.

Moving to platform UI for comment.
Comment 2 Simon Arsenault CLA 2002-11-14 16:19:02 EST
Moving to SWT for comments. Is there anything SWT can do to support this 
request? Any existing SWT API the workbench can use to work around this problem?

Comment 3 Christophe Cornu CLA 2002-11-15 10:27:28 EST
The SWT behavior is that when a composite is disabled (or, consistently, a 
toolbar/coolbar), events are not propagated to its children (respectively tool 
items/coolitems). The children are not modified by SWT when their composite is 
disabled.
Comment 4 Christophe Cornu CLA 2002-11-15 11:46:03 EST
Please ignore my former comment. 
There is an SWT PR for this. Please check it - you can probably mark PR8303 as 
duplicate of PR11178 then.
http://bugs.eclipse.org/bugs/show_bug.cgi?id=11178
Comment 5 Simon Arsenault CLA 2002-11-15 12:39:37 EST

*** This bug has been marked as a duplicate of 11178 ***