Bug 575587 - "White" strip in the Outline tab
Summary: "White" strip in the Outline tab
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.22   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-24 05:39 EDT by Lars Vogel CLA
Modified: 2021-08-27 04:15 EDT (History)
4 users (show)

See Also:


Attachments
Screenshot (42.25 KB, image/png)
2021-08-24 05:39 EDT, Lars Vogel CLA
no flags Details
Screenshot (39.29 KB, image/png)
2021-08-24 05:40 EDT, Lars Vogel CLA
no flags Details
Properties View with no toolbar items (5.88 KB, image/png)
2021-08-24 06:46 EDT, Phil Beauvoir CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2021-08-24 05:39:16 EDT
Created attachment 286996 [details]
Screenshot

Eclipse SDK
Version: 2021-09 (4.21)
Build id: I20210823-1800
OS: Linux, v.5.11.0-31-generic, x86_64 / gtk 3.24.25, WebKit 2.32.3
Java vendor: AdoptOpenJDK
Java runtime version: 16.0.1+9
Java version: 16.0.1

In a new workspace I see a white area in the Outline view tab folder, see attachment.
Comment 1 Lars Vogel CLA 2021-08-24 05:40:32 EDT
Created attachment 286997 [details]
Screenshot

Also visible in the dark theme.
Comment 2 Rolf Theunissen CLA 2021-08-24 06:20:13 EDT
I don't see this strip on windows. Probably this is the view-menu toolbar or the part toolbar which may be incorrectly enabled but doesn't contain any enabled items. Or the styling of that thing is incorrect.

Does the area show up for any other views? Also, I vaguely remember that there has been a drawing artifacts for non-wrapped toolbars before too.
Comment 3 Lars Vogel CLA 2021-08-24 06:25:42 EDT
(In reply to Rolf Theunissen from comment #2)
> I don't see this strip on windows. Probably this is the view-menu toolbar or
> the part toolbar which may be incorrectly enabled but doesn't contain any
> enabled items. Or the styling of that thing is incorrect.
> 
> Does the area show up for any other views? Also, I vaguely remember that
> there has been a drawing artifacts for non-wrapped toolbars before too.

So far I only see it for the outline view.
Comment 4 Phil Beauvoir CLA 2021-08-24 06:46:06 EDT
Created attachment 286999 [details]
Properties View with no toolbar items

This is Linux-only when there are no toolbar items for the ViewPart.

Attached is a screenshot of our custom Properties View with no toolbar items.
Comment 5 Lars Vogel CLA 2021-08-24 10:52:42 EDT
(In reply to Phil Beauvoir from comment #4)
> Created attachment 286999 [details]
> Properties View with no toolbar items
> 
> This is Linux-only when there are no toolbar items for the ViewPart.
> 
> Attached is a screenshot of our custom Properties View with no toolbar items.

Phil, any suggestion how to fix that?
Comment 6 Rolf Theunissen CLA 2021-08-25 02:28:05 EDT
On windows, I can validate that there is indeed an empty toolbar for all views. Probably the background of a toolbar comes through here, non empty toolbars would paint over this artifacts.

Besides, empty toolbars should be marked invisible too. This also prevents them from eating up space when the empty toolbar gets wrapped on very small parts.
This might be a side effect of Bug 562892 or might have been around for longer.
Comment 7 Lars Vogel CLA 2021-08-27 04:15:17 EDT
Maybe another one of these cases in which the gc.background color is not resetted to its original value.