Bug 194904

Summary: [Contributions] Share disabled images when non is set on action registered with IToolBarManager
Product: [Eclipse Project] Platform Reporter: Christof Marti <christof_marti>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Christof Marti CLA 2007-06-29 08:01:45 EDT
3.3M7

Not sure where the source of this is, but when adding an action to a IToolBarManager that has no disabled image descriptor set, the same disabled image gets created for each instance of the tool bar.

Setting the disabled image descriptor with:
		setDisabledImageDescriptor(ImageDescriptor.createWithFlags(getImageDescriptor(), SWT.IMAGE_DISABLE));

lets the disabled image become shared across tool bars. Maybe that could be done under the hood to avoid unnecessary usage of OS resources.
Comment 1 Eclipse Webmaster CLA 2019-09-06 15:33:00 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.