SUMMARY Using openSUSE Tumbleweed on a Lenovo X1 Carbon Gen9. I have a setup with a Lenovo USB-C dock with two external screens connected. It is configured to have only the external screens when connected (built-in screen disabled). When I close the lid of the laptop all external screens switch off since probably last week. Before it was not happening and nothing was changed in settings. When doing a fresh boot with lid closed the login screen is on both external screens but after login they switch off. Opening the lid switches on external screens as expected (built-in screen is disabled as set). Additionally after closing and opening the lid some windows are shifted halfway off the screen (see attachment). If I disconnect one of the monitors physically, it works as expected. Connecting immediately results in switch off of both external screens if lid is closed. SOFTWARE/OS VERSIONS Linux/KDE Plasma: OpenSUSE Tumbleweed 20240428 KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0
Created attachment 169030 [details] Window shifted halfway off screen after opening lid
This problem is still present, but as I have tested it only affects Wayland session. If using X session everything work fine.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/powerdevil/-/merge_requests/491
Git commit 9907c8a247a356eeb4214d0d3c6fd8733399bd76 by Xaver Hugl. Committed on 10/01/2025 at 17:42. Pushed by zamundaaa into branch 'master'. daemon/actions: don't immediately suspend when the external monitor gets removed Display hotplugs don't reliably mean that the display was actually physically unplugged, it can also just be a dock or monitor acting weird. To fix that / work around it, this only triggers the action if there's still no display after 2s. M +18 -4 daemon/actions/bundled/handlebuttonevents.cpp M +2 -0 daemon/actions/bundled/handlebuttonevents.h https://invent.kde.org/plasma/powerdevil/-/commit/9907c8a247a356eeb4214d0d3c6fd8733399bd76
Git commit 4c4d4dda325e717ed31e517cecc83d5fd8657857 by Xaver Hugl. Committed on 10/01/2025 at 17:56. Pushed by zamundaaa into branch 'Plasma/6.3'. daemon/actions: don't immediately suspend when the external monitor gets removed Display hotplugs don't reliably mean that the display was actually physically unplugged, it can also just be a dock or monitor acting weird. To fix that / work around it, this only triggers the action if there's still no display after 2s. (cherry picked from commit 9907c8a247a356eeb4214d0d3c6fd8733399bd76) Co-authored-by: Xaver Hugl <xaver.hugl@gmail.com> M +18 -4 daemon/actions/bundled/handlebuttonevents.cpp M +2 -0 daemon/actions/bundled/handlebuttonevents.h https://invent.kde.org/plasma/powerdevil/-/commit/4c4d4dda325e717ed31e517cecc83d5fd8657857