Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320901

Summary: [CSS] White background results in lost separators (non-classic themes)
Product: [Eclipse Project] Platform Reporter: Dani Megert <daniel_megert>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: aniefer, curtis.windatt.public, emoffatt, john.arthorne, kalyan_prasad, Lars.Vogel, markus.kell.r, Michael_Rennie, Mike_Wilson, pwebster, remy.suen, Szymon.Brandys
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Screenshot
none
Screenshot 2
none
variables view
none
Variables view in Luna M3 none

Description Dani Megert CLA 2010-07-26 09:50:23 EDT
SDK 4.0 - I20100722-2038.

The white background (compared to gray) causes troubles: some areas in views and editors that looked separated are no longer separated making it hard for the user to see what's going on. See attached screenshot.
Comment 1 Dani Megert CLA 2010-07-26 09:50:43 EDT
Created attachment 175218 [details]
Screenshot
Comment 2 Remy Suen CLA 2010-07-26 10:54:26 EDT
I think this may be a duplicate of bug 320238?
Comment 3 Dani Megert CLA 2010-07-26 10:58:39 EDT
>I think this may be a duplicate of bug 320238?
Bug is very concrete about the separators inside the table of the History view. Not sure whether one fix fixes all the issues we see.
Comment 4 Dani Megert CLA 2011-03-18 04:30:38 EDT
This is a critical usability issue for me.
Comment 5 Andrew Niefer CLA 2011-03-18 10:39:18 EDT
See also bug 332452
Comment 6 Dani Megert CLA 2011-04-08 06:20:20 EDT
*** Bug 332452 has been marked as a duplicate of this bug. ***
Comment 7 Oleg Besedin CLA 2011-08-03 10:31:21 EDT
Dani, the "critical" importance is defined as: "crashes, loss of data, severe memory leak".
Comment 8 Dani Megert CLA 2011-11-07 09:11:20 EST
Looks like this is fixed in Juno M3.
Comment 9 Markus Keller CLA 2012-04-18 12:36:27 EDT
Created attachment 214196 [details]
Screenshot 2

This is still as bad as in the first screenshot.

With the default themes (at least on Windows 7 and Mac), the widget background color (usually SWT.COLOR_WIDGET_BACKGROUND) and the SWT.COLOR_LIST_BACKGROUND are both plain white, which causes information loss.

The problem is solved when I switch to the Classic theme and then restart, but the defaults should not be broken.
Comment 10 Markus Keller CLA 2012-04-18 12:37:40 EDT
Reopening.
Comment 11 Markus Keller CLA 2012-05-09 10:58:04 EDT
*** Bug 320238 has been marked as a duplicate of this bug. ***
Comment 12 Markus Keller CLA 2012-05-09 11:04:18 EDT
Another instance of this problem can be seen in the Breakpoints view for Java line breakpoints: When I toggle 'Conditional', the background of the whole configuration area toggles between gray and white.
Comment 13 Remy Suen CLA 2012-05-09 11:24:30 EDT
(In reply to comment #12)
> Another instance of this problem can be seen in the Breakpoints view for Java
> line breakpoints: When I toggle 'Conditional', the background of the whole
> configuration area toggles between gray and white.

Yup, that problem is quite interesting. I switched to the 'Classic' theme so it doesn't bother me anymore.

See bug 333778 comment 2 and down for a prior mentioning of this problem.
Comment 14 Markus Keller CLA 2012-05-09 13:12:16 EDT
Thanks for the pointer Remy, filed bug 379022 for comment 12 and 13.
Comment 15 Dani Megert CLA 2012-05-10 09:14:16 EDT
*** Bug 379022 has been marked as a duplicate of this bug. ***
Comment 16 Michael Rennie CLA 2012-05-28 11:54:27 EDT
Created attachment 216353 [details]
variables view

This is still a problem.

I makes the Expressions and Variables view look like the details just float in the bottom of the view
Comment 17 John Arthorne CLA 2013-11-22 10:09:49 EST
Created attachment 237644 [details]
Variables view in Luna M3
Comment 18 John Arthorne CLA 2013-11-22 10:10:57 EST
Is this bug already fixed or am I misunderstanding it. When I look at the variables view in latest build I see a clear grey separator between panes. When I compare this to Michael's screen shot where there is no visible separator it looks like the problem has been fixed?
Comment 19 Markus Keller CLA 2013-11-22 11:59:24 EST
The general bug is not fixed, but clients are starting to hack around the problem one-by-one. E.g. in VariablesView#refreshDetailPaneContents().

Better check views that have not been hacked, like the JUnit, Type Hierarchy, or the CVS History view. In the Git History view, they added borders to work around this bug.

Comment 9 and bug 340889 explain the underlying problem: E4 can't just hammer a white background color into all widgets while SWT.COLOR_WIDGET_BACKGROUND is still gray.
Comment 20 John Arthorne CLA 2013-11-22 14:53:55 EST
(In reply to Markus Keller from comment #19)
> Comment 9 and bug 340889 explain the underlying problem: E4 can't just
> hammer a white background color into all widgets while
> SWT.COLOR_WIDGET_BACKGROUND is still gray.

Ok thanks that explains it. Should this bug be made a duplicate of bug 340889 then? The main description in this bug ("white background causes troubles") is pretty unclear to me.
Comment 21 Lars Vogel CLA 2016-04-20 12:10:05 EDT
Mass move to 4.7 as M7 is approaching. Please move back in case you are planning to fix it for Neon.
Comment 22 Dani Megert CLA 2018-05-24 13:01:16 EDT
Moving target milestone to 4.9 for all bugs that are major or above.
Comment 23 Dani Megert CLA 2018-12-04 11:36:56 EST
Moving target milestone to 4.11 for all bugs that are major or above.
Comment 24 Lars Vogel CLA 2019-02-19 03:31:38 EST
Mass change, please reset target if you still planning to fix this for 4.11.
Comment 25 Kalyan Prasad Tatavarthi CLA 2019-05-28 05:48:24 EDT
Please set the target milestone back to 4.12 if you still intend to fix this for 4.12.
Comment 26 Lars Vogel CLA 2020-06-16 05:08:37 EDT
I think that has been fixed, please reopen if you still see this issue in the new 4.16 light theme.