https://bugs.kde.org/show_bug.cgi?id=502806
Bug ID: 502806 Summary: Windows aren’t moved and restored properly when (un-) plugging USB-C dock with a HDMI monitor plugged to it Classification: Plasma Product: kwin Version: 6.3.4 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: xrandr Assignee: kwin-bugs-n...@kde.org Reporter: a...@ariasuni.eu Target Milestone: --- SUMMARY I use Plasma with two monitor: the builtin one from my laptop, and an external monitor, plugged via HDMI to a USB-C dock. KWin don’t behave correctly with regards to moving windows and sizing when plugging and unplugging the dock. STEPS TO REPRODUCE 1. Two screens, with one plugged with HDMI through an USB-C dock 2. Two Firefox windows (and other maximized windows) 3. Unplug the USB-C dock 4. Plug back the USB-C dock OBSERVED RESULT When unplugging the USB-C dock, the Firefox window (it’s fine for other applications) displayed on the external monitor stay stuck on the ghost screen and I can’t move it back to the builtin screen (tried shortcuts to move windows to other screens, using actions in the contextual menu of the panel task manager). Only way to access the stuck windows I found is to plug back a monitor. When plugging the USB-C dock back, some maximized windows are restored with the size covering the entire screen, so they go under the (non-floating) panel, as if the panel wasn’t there when the windows were moved back to the external screen. EXPECTED RESULT When unplugging the USB-C dock, the Firefox window is moved to the builtin screen. When plugging the USB-C dock back, the maximized windows are restored to the correct size. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.3.4 KDE Frameworks Version: 6.12.0 Qt Version: 6.9.0 Kernel Version: 6.14.2-zen1-1-zen (64-bit) Graphics Platform: Wayland Processors: 8 × AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx Memory: 13.5 Gio of RAM Graphics Processor: AMD Radeon Vega 10 Graphics Manufacturer: LENOVO Product Name: 20NFCTO1WW System Version: ThinkPad E595 ADDITIONAL INFORMATION The USB-C dock I’m using is a Thinkpad (40AY) (https://www.lenovo.com/fr/fr/p/accessories-and-software/docking/docking-usb-docks/40ay0090eu). -- You are receiving this mail because: You are watching all bug changes.