Bug 457050 - Invoke «Peek at Desktop» effect repeatedly may cause desync
Summary: Invoke «Peek at Desktop» effect repeatedly may cause desync
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-window-management (show other bugs)
Version: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-23 17:10 UTC by ratijas
Modified: 2022-07-23 17:10 UTC (History)
0 users

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


Attachments
KWin - Peek at Desktop - desync (1.81 MB, video/mp4)
2022-07-23 17:10 UTC, ratijas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ratijas 2022-07-23 17:10:29 UTC
Created attachment 150854 [details]
KWin - Peek at Desktop - desync

SUMMARY

Invoke «Peek at Desktop» effect repeatedly may cause desync between its reported state and actual window positions. And when that happens (like, it's reported to be active, but all windows are in place), activating it again would make windows jump away to the edges of the screen and then animating back to their positions normally.


STEPS TO REPRODUCE
0. Ensure there is a «Peek at Desktop» applet on your panel.
1. Keep pressing the shortcut for «Peek at Desktop», in my case it's Ctrl+F12 (for Shortcuts -> Plasma -> «Show Desktop» action in System Settings).

OBSERVED RESULT
«Peek at Desktop» applet has a focus line over it, indicating that the effect is active, but windows are on screen.

EXPECTED RESULT
KWin should ensure windows are animating to their proper destination even if the previous animation got interrupted.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE: git master
Qt Version: 5.15.5
Kernel Version: 5.18.12-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: G752VT
System Version: 1.0