Bug 456936 - Dragged windows get drawn below others in WindowHeap-based effects
Summary: Dragged windows get drawn below others in WindowHeap-based effects
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (show other bugs)
Version: 5.25.3
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-20 05:48 UTC by bastimeyer123
Modified: 2022-07-27 17:43 UTC (History)
2 users (show)

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


Attachments
dragging windows on the desktopgrid and overview effect (3.80 MB, video/mp4)
2022-07-20 05:48 UTC, bastimeyer123
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bastimeyer123 2022-07-20 05:48:50 UTC
Created attachment 150761 [details]
dragging windows on the desktopgrid and overview effect

SUMMARY
When dragging/moving a window on the desktopgrid or overview effect, it gets drawn below other windows.


STEPS TO REPRODUCE
1. Open multiple windows
2. Open desktopgrid or overview effect
3. Drag one of the windows around

OBSERVED RESULT
The window gets drawn below others, covering/hiding it, which is bad.
Dragging a window from a different virtual desktop on the desktopgrid however correctly draws it above others, in full size.

EXPECTED RESULT
Dragged windows should always be drawn above others

SOFTWARE/OS VERSIONS
Arch, latest, with kwin built from the Plasma/5.25 branch, commit 84277885b94485b5a0623629841acb3d5e02590a
Comment 1 Paul Worrall 2022-07-20 08:38:14 UTC
Confirmed. Same in Present Windows

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.15.0-41-generic (64-bit)
Graphics Platform: Wayland
Processors: 2 × AMD A6-6400K APU with Radeon(tm) HD Graphics
Memory: 7.7 GiB of RAM
Graphics Processor: AMD CEDAR
Manufacturer: NOVATECH LTD
Product Name: BB-64004H
System Version: V1.0
Comment 2 ratijas 2022-07-27 17:11:37 UTC
Git commit 54917f038e923d1c8620a826eb5a1b17ec30a328 by ivan tkachenko.
Committed on 27/07/2022 at 15:08.
Pushed by ratijas into branch 'master'.

effects/private: Raise currently dragged window higher than anything
FIXED-IN: 5.25.4 5.26

M  +2    -1    src/effects/private/qml/WindowHeapDelegate.qml

https://invent.kde.org/plasma/kwin/commit/54917f038e923d1c8620a826eb5a1b17ec30a328
Comment 3 ratijas 2022-07-27 17:14:39 UTC
Git commit 957ff80a3b37f46c8afa9aa15808c47a35385aa2 by ivan tkachenko.
Committed on 27/07/2022 at 17:14.
Pushed by ratijas into branch 'Plasma/5.25'.

effects/private: Raise currently dragged window higher than anything
FIXED-IN: 5.25.4 5.26
(cherry picked from commit 54917f038e923d1c8620a826eb5a1b17ec30a328)

M  +2    -1    src/effects/private/qml/WindowHeapDelegate.qml

https://invent.kde.org/plasma/kwin/commit/957ff80a3b37f46c8afa9aa15808c47a35385aa2