Bug 194904 - [Contributions] Share disabled images when non is set on action registered with IToolBarManager
Summary: [Contributions] Share disabled images when non is set on action registered wi...
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-29 08:01 EDT by Christof Marti CLA
Modified: 2019-09-06 15:33 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 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.