Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335509 - Tree views use wrong inactive selection foreground color (Oxygen-GTK theme)
Summary: Tree views use wrong inactive selection foreground color (Oxygen-GTK theme)
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-26 15:54 EST by Matt Whitlock CLA
Modified: 2016-12-21 11:59 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Whitlock CLA 2011-01-26 15:54:56 EST
Build Identifier: I20100909-0800

When the "Inactive selection changes color" option is enabled in KDE's color settings and GTK is using the new Oxygen-GTK theme (introduced with KDE 4.6), Eclipse's explorer tree views (e.g., Package Explorer, Outline) render the selection foreground incorrectly when unfocused.

Compare this to the rendering of the tree view in the Preferences dialog, which renders inactive selection foregrounds correctly.

Reproducible: Always

Steps to Reproduce:
1. Switch to the Oxygen-GTK theme.
2. Enable the "Inactive selection changes color" option.
3. Start Eclipse.
4. Select an item in the Package Explorer or Outline view.
5. Focus on another pane in the IDE.
6. Notice that the selection background changes (to a light blue if using the default color scheme) but the selection foreground color remains the same (white by default), resulting in an illegible combination.
7. Open the Preferences dialog.
8. Click on an item in the tree view.
9. Click in the filter edit box.
10. Notice that the both the background and the foreground color of the selection in the tree view change as a result of the focus loss.
Comment 1 Vinicius CLA 2012-02-28 10:13:38 EST
This is the same as bug #255810 that is unanswered since 2008...
Comment 2 Eric Williams CLA 2016-12-21 11:59:44 EST
Unfortunately there is nothing we can do about unreliable themes engines/themes. Oxygen-gtk is notorious for causing these sorts of problems, as GTK3 has deprecated theme engines all together.