https://bugs.kde.org/show_bug.cgi?id=487409
Bug ID: 487409 Summary: LG monitor hotplug on DPMS power on causes several applications to resize their windows Classification: Plasma Product: kwin Version: 6.0.4 Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: platform-drm Assignee: kwin-bugs-n...@kde.org Reporter: kod...@gmail.com Target Milestone: --- SUMMARY I have an LG 24UD58-B monitor (3840x2160@60Hz) and a Dell P2414H (1920x1080@60Hz), and when the two monitors DPMS cycle off, everything is fine. When the LG monitor powers back on, due to a bug in its deep sleep state, it causes a DRM hotplug event, which causes only that monitor to bounce out of the desktop layout. This causes all my windows to pop over to a desktop that's one quarter of the size and half the scale of the primary display. The only applications I have right now which are affected oddly by this are Steam (XWayland) and WezTerm (Wayland). Steam shrinks so its window now fits into the top left quarter of the screen, while WezTerm shrinks itself to the minimum allowed window size and becomes unusable until I resize it again. STEPS TO REPRODUCE 1. Acquire the listed monitors, any video card to drive them, but AMDGPU in this case. 2. Allow DPMS to cycle the displays off completely. 3. Move the mouse to cycle them on. OBSERVED RESULT Windows move around, some of them shrink, others shrink unusably. EXPECTED RESULT Desktop should make an attempt to absorb the DRM event and seed a new DRM surface handle to the compositor. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux, kernel 6.9.1-2-cachyos (64-bit) (available in About System) KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.2.0 Qt Version: 6.7.0 ADDITIONAL INFORMATION Bug is a minor nuisance, but at least better than whole apps crashing on monitor hotplug like some other desktops on the machine do. It would be nice if a slight delay could be added to actual hotplug events to coalesce a monitor disappearing for just a moment into a DRM handle refresh. -- You are receiving this mail because: You are watching all bug changes.