Bug 424718 - Window decoration on maximized window is not large enough to cover all underlaying pixels
Summary: Window decoration on maximized window is not large enough to cover all underl...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kwin
Classification: Plasma
Component: decorations (show other bugs)
Version: 5.19.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-27 15:23 UTC by Peifeng Yu
Modified: 2023-09-06 10:38 UTC (History)
0 users

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


Attachments
Maximized window having 1px red line on the left and top edge of the window decoration (50.40 KB, image/png)
2020-07-27 15:23 UTC, Peifeng Yu
Details
If the window doesn't use window decoration, there is no red pixels visible (341.33 KB, image/png)
2020-07-27 15:26 UTC, Peifeng Yu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peifeng Yu 2020-07-27 15:23:05 UTC
Created attachment 130437 [details]
Maximized window having 1px red line on the left and top edge of the window decoration

SUMMARY

With scaling factor 150% set, the window decoration on a maximized window is not large enough to cover all underlying pixels, leaving about 1px line on top.

STEPS TO REPRODUCE
1. Set the desktop wallpaper to a solid color, like red
2. Maximize any window with server-side decoration (I tried dolphin, vscode, system settings)

OBSERVED RESULT
There is a 1px red line on the top of the screen. See the attached screenshot.


EXPECTED RESULT
The window and decoration should fully cover whatever is underneath them.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Archlinux with latest updates (kernel 5.7.10-arch1-1)
(available in About System)
KDE Plasma Version: 5.19.3
KDE Frameworks Version: 5.72.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION

This is on a *Wayland* session. I'm aware of [1], but that happens on X11, and for me the 1px line only appears in the window decoration section. So I think this is a different bug.


[1]: https://bugs.kde.org/show_bug.cgi?id=391956
Comment 1 Peifeng Yu 2020-07-27 15:26:33 UTC
Created attachment 130438 [details]
If the window doesn't use window decoration, there is no red pixels visible

The same setting as in the report, but with the Vivaldi browser, which doesn't use window decoration. And there is no red pixels visible.
Comment 2 David Edmundson 2023-09-06 10:38:19 UTC
This bug was reported against an outdated version of KWin. We have made many changes since the. 
If the issue persists in newer versions can you reopen the bug report updating the version number.