Bug 483515 - window outline doesn't match title bar when window is maximized horizontally or vertically
Summary: window outline doesn't match title bar when window is maximized horizontally ...
Status: RESOLVED DUPLICATE of bug 485060
Alias: None
Product: Breeze
Classification: Plasma
Component: window decoration (show other bugs)
Version: 6.0.2
Platform: Neon Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-14 05:49 UTC by S. Christian Collins
Modified: 2024-11-06 21:05 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshots showing the bug (12.47 KB, application/gzip)
2024-03-14 05:49 UTC, S. Christian Collins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description S. Christian Collins 2024-03-14 05:49:00 UTC
Created attachment 167145 [details]
screenshots showing the bug

SUMMARY
The Breeze window decoration outline does not fully align with windows that are maximized only horizontally or vertically. Windows that are maximized normally (filling the entire screen) appear correctly. When windows are maximized in only one direction, the following issues occur:
1. The rounded top corners of the title bar become straight. However, the outline is still drawn with a curve slicing over the now straight corner.
2. Horizontally-maximized windows should have no outline on the left or right sides of the window, but an outline is drawn on both the left and right side of the title bar (but only the title bar).
3. Vertically-maximized windows should have no outline on the top or bottom of the window, but an outline is drawn at the top of the titlebar.

I have attached screenshots showing unmaximized, vertically-maximized, and horizontally-maximized window corners zoomed to 800%.

STEPS TO REPRODUCE
1. Choose the "Breeze Dark" color scheme and a bright wallpaper to be able to better see the window outline. Make sure outline intensity in the Breeze window decoration settings is set to "medium" or higher for best visibility.
2. Maximize a window vertically (by middle-clicking the maximize button) or horizontally (by right-clicking the maximize button).

OBSERVED RESULT
The outline is erroneously drawn as described in the summary above.

EXPECTED RESULT
The outline should correctly match the window boundaries.

SOFTWARE/OS VERSIONS
Linux: KDE neon 6.0
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
This bug occurs in both X11 and Wayland.
Comment 1 Nate Graham 2024-04-09 22:04:00 UTC
Oh look Akseli, it's your favorite thing ever
Comment 2 Akseli Lahtinen 2024-04-10 07:26:26 UTC
Argh, yeah, I think I know why this happens but also I don't know if I have a proper solution for it yet. Can confirm it though, but it's so minor (at least to my tired eyes) that I didn't even notice it myself first.
Comment 3 Nate Graham 2024-11-06 21:05:39 UTC

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