Bug 514968

Summary: Window after docking/undocking invisible but active
Product: [Plasma] kwin Reporter: svargh <svarghkde>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: akselmo
Priority: NOR    
Version First Reported In: 6.5.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Invisible but active window

Description svargh 2026-01-23 10:49:29 UTC
Created attachment 188810 [details]
Invisible but active window

SUMMARY
After daily docking/undocking I noticed, that some applications  are just invisible, but somehow active.
Example Kate
It receives mouse events, right click opens the context menu.
Also mouse cursor changes if in editor or on border of application(resize symbol).

Tried minimizing/maximizing /Keep above others, nothing helps

Please check uploaded video.

EXPECTED RESULT
Window should just stay visible

SOFTWARE/OS VERSIONS
Operating System: KDE neon User Edition
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.17.11-061711-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics
Memory: 64 GiB of RAM (61,5 GiB usable)
Graphics Processor: AMD Radeon 780M
Manufacturer: LENOVO
Product Name: 21JV0025GE
System Version: ThinkPad Z13 Gen 2
ADDITIONAL INFORMATION
Comment 1 Akseli Lahtinen 2026-01-23 11:10:16 UTC
Just to clarify, by docking, do you mean that you are disconnecting and reconnecting a display as well?
Comment 2 svargh 2026-01-23 11:14:08 UTC
(In reply to Akseli Lahtinen from comment #1)
> Just to clarify, by docking, do you mean that you are disconnecting and
> reconnecting a display as well?

Yes. The laptop is connected only via USB-C to a docking station (either at home or at work).
Each docking station is connected to one or more monitors via DisplayPort.