SUMMARY When all screens are disconnected, plasma stops taking user input. STEPS TO REPRODUCE 1. Unplug all screens (or switch screen input to another computer) 2. Try to use any input (for example media keys to pause music) OBSERVED RESULT Leaving music playing and switching screen input to another computer, media keys no longer take effect when pressed. EXPECTED RESULT Pressing pause pauses media even if the screen is disconnected. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.4.0 Qt Version: 6.7.2 Kernel Version: 6.10.3-arch1-2 (64-bit) Graphics Platform: Wayland (nvidia) ADDITIONAL INFORMATION This used to work, as such it is a regression, however I don't know what version it stopped working. Plugging in a dummy DP output dongle that simulates a screen, marking it as disabled and then unplugging the main screen keeps user input working.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/6224
Git commit cfc0f05c942eec50d4596d5531b183356e504784 by Xaver Hugl. Committed on 12/08/2024 at 13:44. Pushed by zamundaaa into branch 'master'. placeholderinputeventfilter: don't block media keys While blindly typing with no outputs connected is unlikely to be intentional, using the media keys likely is. M +2 -17 src/dpmsinputeventfilter.cpp M +3 -1 src/placeholderinputeventfilter.cpp A +38 -0 src/utils/keys.h [License: GPL(v2.0+)] https://invent.kde.org/plasma/kwin/-/commit/cfc0f05c942eec50d4596d5531b183356e504784
Git commit 8b7e4cce2a957856ab2de8e4c08dd5cb2fc8f9b6 by Xaver Hugl. Committed on 12/08/2024 at 14:06. Pushed by zamundaaa into branch 'Plasma/6.1'. placeholderinputeventfilter: don't block media keys While blindly typing with no outputs connected is unlikely to be intentional, using the media keys likely is. (cherry picked from commit cfc0f05c942eec50d4596d5531b183356e504784) Co-authored-by: Xaver Hugl <xaver.hugl@gmail.com> M +2 -17 src/dpmsinputeventfilter.cpp M +3 -1 src/placeholderinputeventfilter.cpp A +38 -0 src/utils/keys.h [License: GPL(v2.0+)] https://invent.kde.org/plasma/kwin/-/commit/8b7e4cce2a957856ab2de8e4c08dd5cb2fc8f9b6