Summary: | [gtk3][win32][dark] Background color for selected item in tree wrong for owner-drawn items | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Thomas Wolf <twolf> | ||||
Component: | UI | Assignee: | Platform-UI-Inbox <Platform-UI-Inbox> | ||||
Status: | NEW --- | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 4.20 | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=574434 | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Thomas Wolf
2021-06-27 06:52:51 EDT
See also bug 574434 for a similar problem on win32 (but there SWT only). This problem does _not_ occur when running an Eclipse Neon.3 in dark mode. So perhaps the color in event.gc.getBackground() is correct, but the brighter blue used for drawing the label is wrong? (In reply to Thomas Wolf from comment #1) > See also bug 574434 for a similar problem on win32 (but there SWT only). Actually, the background color of a selected tree item as reported by event.gc.getBackground() in an SWT.PaintEvent not changing with the theme also occurs on win32. So this issue here * is not platform-specific; occurs on gtk3 and on win32. (Didn't see it on cocoa, though.) * is different from bug 574434, which is win32-specific and which is about that background color not matching the actual background color used for the tree item. (In light or dark mode.) |