https://bugs.kde.org/show_bug.cgi?id=480032
Bug ID: 480032 Summary: Window is out of screen after unplugging external display Classification: Plasma Product: kwin Version: git master Platform: Compiled Sources OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: k...@hexchain.org Target Milestone: --- SUMMARY After unplugging the external display, a Wayland window from a Chrome PWA is out of the visible screen area. Screen configuration: (1) Laptop internal screen, eDP, 2880x1800, 175%, off when (2) is connected (2) Monitor, DP, 3840x2160, 150% Status of the window from KWin debug console: bufferGeometry: -1572,316 1386x871 clientGeometry: -1556,326 1354x829 frameGeometry: -1556,326 1354x829 height: 829 width: 1354 pos: -1556,326 rect: 0,0 1354x829 size: 1354x829 x: -1556 y: 326 windowType: NET::Normal The sequence of actions leading to this issue: 1. Connect the monitor 2. Switch to another user (screen configuration is the same) 3. Unplug the monitor and close the lid (put the laptop to sleep) 4. Open the lid (wake up) 5. Switch back I am not sure if user switching is crucial but they are included for completeness. STEPS TO REPRODUCE Not sure. EXPECTED RESULT The window should be in the visible screen area. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.0.80 KDE Frameworks Version: 5.249.0 Qt Version: 6.7.0 Kernel Version: 6.7.0-arch3-1 (64-bit) Graphics Platform: Wayland Graphics Processor: AMD Radeon Graphics KWin is (probably) at 9f10d5d79f. ADDITIONAL INFORMATION I also noticed that after unplugging the external monitor, non-maximized windows are only partly inside the visible screen. -- You are receiving this mail because: You are watching all bug changes.