Bug 565754

Summary: Delayed rendering / theming of UI elements
Product: [Eclipse Project] Platform Reporter: Pierre-Yves Bigourdan <pyvesdev>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: NEW --- QA Contact:
Severity: major    
Priority: P3 CC: Lars.Vogel, rolf.theunissen
Version: 4.16   
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=546987
Whiteboard:
Attachments:
Description Flags
Search when first displayed, with horizontal white sections
none
Search after tab switching, no more visual artefacts none

Description Pierre-Yves Bigourdan CLA 2020-08-01 06:03:46 EDT
Some UI elements aren't rendered properly when first displayed. This is easier to notice when using any dark theme.

Steps to reproduce:
* download a fresh copy of the "Eclipse IDE for Java Developers" package.
* launch it, switch to the dark theme, restart.
* open the search dialogue (Ctrl+H). "File Search" should be opened as the default.
* switch to the "Java Search" tab. Notice the white horizontal sections.
* go back to "File Search".
* switch to "Java Search" again. The white sections will have disappeared.

Will upload two screenshots in follow up messages. Note that I've been able to reproduce this behaviour on both macOS and Windows machines.

Other way of reproducing:
* use an a workspace containing a custom theme (for example the Platform UI codebase).
* add the following CSS to the theme:
Label {
  visibility: hidden;
}
* launch as an Eclipse application.
* open the Error Log view. Notice that all labels are visible.
* click anywhere in the Error Log view. Only then will the labels disappear.
Comment 1 Pierre-Yves Bigourdan CLA 2020-08-01 06:05:18 EDT
Created attachment 283778 [details]
Search when first displayed, with horizontal white sections
Comment 2 Pierre-Yves Bigourdan CLA 2020-08-01 06:06:07 EDT
Created attachment 283779 [details]
Search after tab switching, no more visual artefacts
Comment 3 Lars Vogel CLA 2020-08-01 12:12:25 EDT
I tried several times to hunt this down, but was never successful....
Comment 4 Rolf Theunissen CLA 2021-02-23 06:38:00 EST
Can reproduce it on windows, first resize the search dialog such that it larger then the normal size. (Maybe a restart is needed) Then open the search dialog again and switch to another tab.