Bug 482686 - The shade option works incorrectly on X11
Summary: The shade option works incorrectly on X11
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: Window shading (show other bugs)
Version: 6.0.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6, X11-only
Depends on:
Blocks:
 
Reported: 2024-03-07 11:01 UTC by yunusaydin590
Modified: 2025-02-24 17:58 UTC (History)
3 users (show)

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


Attachments
A video showcasing the bug (1.27 MB, video/x-matroska)
2024-03-07 11:01 UTC, yunusaydin590
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yunusaydin590 2024-03-07 11:01:12 UTC
Created attachment 166568 [details]
A video showcasing the bug

SUMMARY
The shade effect on X11 has some graphical glitches.

STEPS TO REPRODUCE
1. Right-click the title bar of a window
2. Go to more actions and enable shade mode
3. Move window

OBSERVED RESULT
Graphical glitches and the window borders are still there

EXPECTED RESULT
No graphical glitches, also the borders should not be there

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.1.71-1-lts (64-bit)
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
X11
Comment 1 S. Christian Collins 2024-03-14 15:30:23 UTC
What window decoration are you using? The Breeze decoration doesn't seem to have this problem.
Comment 2 Grósz Dániel 2024-04-02 20:11:39 UTC
(In reply to S. Christian Collins from comment #1)
> What window decoration are you using? The Breeze decoration doesn't seem to
> have this problem.

It happens to me with Breeze with vertically (but not fully) maximized windows as long as either window borders or Breeze's outline (in the Breeze window decoration's settings) is enabled. I've noticed it since the update to KDE 6, though in KDE 5 I had neither borders nor an outline on my windows, so Idk if it existed in kwin 5 too. Also, the frame doesn't jerk around when moving the window for me, it just moves normally with the title.
Comment 3 TraceyC 2024-10-14 21:11:07 UTC
This looks very similar to bug 494587, except the other is for Xwayland windows
I'm not able to reproduce the other bug

I can reproduce this only if I enabled borders in Breeze, and the window is maximized to one side (tiled to the left), as in the last comment. Then I do see remaining borders after shading the window.

I'm able to reproduce this one on git-master (X11) as well as KDE Neon

git-master:
KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.3
Kernel Version: 6.10.13-304.current (64-bit)
Graphics Platform: X11

KDE Neon (X11):
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.8.0-45-generic (64-bit)
Graphics Platform: X11
Comment 4 TraceyC 2025-02-24 17:58:50 UTC
Adding the x11-only keyword