Bug 458423

Summary: [X11] When using the Translucency effect, if a window closes when it is moving, a snapshot of the window gets stuck to the screen
Product: [Plasma] kwin Reporter: vsjoqvist
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: demetrykravchenko, nate, tinozzo123
Priority: NOR    
Version First Reported In: 5.25.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: A video performing the bug

Description vsjoqvist 2022-08-28 11:50:17 UTC
Created attachment 151660 [details]
A video performing the bug

SUMMARY

If a window closes as it is moving a snapshot of the window gets stuck to the wallpaper until you log out/reboot


STEPS TO REPRODUCE
1. Close a gui application which takes some time to close (for example the minecraft launcher)
2. Drag it around until the application quits

OBSERVED RESULT
An image of the window is now stuck to the desktop wallpaper

EXPECTED RESULT
The application should quit without leaving a mark

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.19.4-arch1-1
(available in About System)
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Comment 1 Nate Graham 2022-08-30 20:16:46 UTC
Cannot reproduce on Wayland with current git master. Are you using X11? If so, can you try on Wayland?
Comment 2 vsjoqvist 2022-08-31 19:51:56 UTC
(In reply to Nate Graham from comment #1)
> Cannot reproduce on Wayland with current git master. Are you using X11? If
> so, can you try on Wayland?

Works on the latest wayland package on arch.
Comment 3 vsjoqvist 2022-08-31 19:52:40 UTC
After some more testing I've concluded that this only happens when using the Translucency desktop effect
Comment 4 Nate Graham 2022-08-31 19:54:32 UTC
Thanks for the info.
Comment 5 Nate Graham 2022-09-02 18:48:09 UTC
*** Bug 458638 has been marked as a duplicate of this bug. ***
Comment 6 Martino Fontana 2022-10-25 12:39:15 UTC
Can also reproduce on Wayland, as long as the windows runs in XWayland.
(Tested on Plasma 5.26.1, with Steam's startup window)
Comment 7 Martino Fontana 2023-07-27 09:59:16 UTC
Seems to be fixed on my end, on XWayland (can't test X11).
Tested with Steam's startup window.

Operating System: NixOS 23.11
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.9
Kernel Version: 6.4.4-cachyos (64-bit)
Graphics Platform: Wayland
Comment 8 Nate Graham 2023-07-28 20:58:21 UTC
Thanks for following up, Martino.

Can you confirm that, vsjoqvist@gmail.com?
Comment 9 vsjoqvist 2023-07-29 10:59:56 UTC
(In reply to Nate Graham from comment #8)
> Thanks for following up, Martino.
> 
> Can you confirm that, vsjoqvist@gmail.com?

No. Sony hade access to a computer until the end of next week
Comment 10 Martino Fontana 2023-08-07 17:59:50 UTC
I tested Steam on X11, and couldn't reproduce.
(I'll hastily close this since OP isn't answering, they can reopen if it's not solved for them)