Bug 433371 - Separator between toolbar and rest of window shouldn't be shown if the toolbar and menubar are hidden
Summary: Separator between toolbar and rest of window shouldn't be shown if the toolba...
Status: RESOLVED DUPLICATE of bug 433118
Alias: None
Product: Breeze
Classification: Plasma
Component: QStyle (show other bugs)
Version: 5.21.0
Platform: Arch Linux Other
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-21 09:08 UTC by Kishore Gopalakrishnan
Modified: 2021-02-23 03:31 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
1. Line between titlebar and rest of window in inactive windows (24.66 KB, image/png)
2021-02-21 09:08 UTC, Kishore Gopalakrishnan
Details
2. Line between panel and window for maximized window with border hidden (47.92 KB, image/png)
2021-02-21 09:09 UTC, Kishore Gopalakrishnan
Details
3. expected behaviour (12.38 KB, image/png)
2021-02-21 09:10 UTC, Kishore Gopalakrishnan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kishore Gopalakrishnan 2021-02-21 09:08:10 UTC
Created attachment 136002 [details]
1. Line between titlebar and rest of window in inactive windows

SUMMARY
The new Breeze style shows a separator (thin black line) between the toolbar/menubar and the rest of the window area. Is it possible to hide this separator when the application is configured to have neither a menubar nor a toolbar? I have 'draw separator under the active window's titlebar' unchecked in the settings for the Breeze window decoration.

STEPS TO REPRODUCE:
1. Open Dolphin
2. Remove location bar from toolbar
2. Hide toolbar (settings > show toolbar)
4. Hide menubar (Ctrl+M)

OBSERVED RESULTS (see attached screenshots)
1. In inactive windows, there is a black line between the titlebar and the rest of the window
2. If we maximize the window and choose to hide the borders for maximized windows, there is a black line between the panel and the window. Note that I have edited my panel theme to not have a shadow/line at the bottom, and this works as expected when I configure the application to show a toolbar (see screenshot 3).

EXPECTED RESULTS:
There should be no separator when both the toolbar and menubar are hidden (Screenshot 3).

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Comment 1 Kishore Gopalakrishnan 2021-02-21 09:09:05 UTC
Created attachment 136003 [details]
2. Line between panel and window for maximized window with border hidden
Comment 2 Kishore Gopalakrishnan 2021-02-21 09:10:26 UTC
Created attachment 136004 [details]
3. expected behaviour
Comment 3 Nate Graham 2021-02-22 21:35:58 UTC
What color scheme are you using?
Comment 4 Kishore Gopalakrishnan 2021-02-23 03:28:01 UTC
(In reply to Nate Graham from comment #3)
> What color scheme are you using?

The screenshots were with the Breeze colour scheme. If I change to Breeze dark, there's a light-gray separator instead. 

I can reproduce this on both Arch Linux and KDE Neon, in new user accounts.
Comment 5 Nate Graham 2021-02-23 03:31:39 UTC
Okay, then when using the Breeze color scheme (and other older ones that don't have Header colors), this is already fixed with the fix for Bug 433118.

For color schemes that do have Header colors, the line is intentional, as a way of visually distinguishing the window's content area from the header area--whether that header area has a titlebar, menubar, and toolbars, a titlebar and menubar, a titlebar and toolbars, or just a titlebar.

*** This bug has been marked as a duplicate of bug 433118 ***