Bug 567972

Summary: Enable setting (toolbar) icons to grayscale mode
Product: [Eclipse Project] Platform Reporter: Karsten Thoms <karsten.thoms>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: tellastory73
Version: 4.18   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
See Also: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/170910
Whiteboard:
Bug Depends on: 567905    
Bug Blocks:    

Description Karsten Thoms CLA 2020-10-18 10:15:27 EDT
On workbench startup the preference org.eclipse.ui.workbench/USE_COLORS is read (Workbench#init) and set to ActionContributionItem.setUseColorIconsInToolbars(). This allows to have grayscale icons in toolbars when set to false.

This option was brought to my mind when reviewing bug#567905. I think a preference option could be added to the General/Appearance preference page. Another suitable place could be 'General/Appearance/Colors and Fonts'. However, on the first page there is already the checkbox 'Use mixed fonts and colors for labels', which might be also better located on the subpage.

This request is to add a checkbox to configure this hidden preference. It has currently only an effect on toolbars, but might be extended to other icons to be more useful.
Comment 1 Eclipse Genie CLA 2020-10-18 10:18:13 EDT
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/170910