Bug 464012

Summary: Shadow Window appears when a window which is being moved closes
Product: [Plasma] kwin Reporter: AloneER0 <aloneer0>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: 5.26.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Here is a screenshot with the "shadow windows"

Description AloneER0 2023-01-08 17:20:32 UTC
SUMMARY

STEPS TO REPRODUCE
1. Enable Wobby Windows
2. Move a window and press alt+f4 (simply close the app)

OBSERVED RESULT
When the window that is currently being moved will be closed a copy of it will stay on the desktop

EXPECTED RESULT
There shouldn't be any copies of that window it should just disappear.



SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
I haven't experienced that issue on older versions of Plasma.
Comment 1 AloneER0 2023-01-08 17:21:50 UTC
Forgot to mention that the app should be closed while it's being moved.
Comment 2 AloneER0 2023-01-08 17:24:25 UTC
Created attachment 155117 [details]
Here is a screenshot with the "shadow windows"

Spectacle and Steam became shadow windows
Comment 3 AloneER0 2023-01-08 17:41:09 UTC
Restarting Kwin makes the shadow windows disappear.