Bug 419460 - Kscreenlocker and power management activate even while playing a game with a joystick or gamepad
Summary: Kscreenlocker and power management activate even while playing a game with a ...
Status: RESOLVED DUPLICATE of bug 328987
Alias: None
Product: kscreenlocker
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
Depends on:
Reported: 2020-03-31 17:05 UTC by Patrick McMunn
Modified: 2020-04-01 06:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Patrick McMunn 2020-03-31 17:05:42 UTC
I'm not sure if kscreenlocker is the best place to file this bug because it really involves potentially three components: the screen locker, power management, and device I/O.


I occasionally like to play games on my computer, and when I use a joystick or gamepad (e.g. Logtech F310, Xbox One controller) to play a game, KDE apparently does not consider joystick input to be a kind of activity which lets it know that a user is still interacting with the system. Thus, if the screen locker is enabled, the screen locker will activate even while playing a game unless I occasionally move the mouse, touch my laptop's touchpad, or press a key on the keyboard. Likewise, if the Power management is enabled for things like dimming the screen, turning off the screen, or, presumably sleeping/powering down the system, it will activate after the specified time period has elapsed even if I'm playing a game.


When playing a game with a joystick or gamepad, the system should register gamepad I/O as activity which keeps the system awake and prevents power management or the screen locker from activating.

Linux: kernel 5.4.28 / Manjaro 19.0.2
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.1


Although I'm reporting this bug on the versions specified above, this has been a longstanding issue with KDE/Plasma 5, and I have observed it on other Linux distros and FreeBSD, so it appears to be independent of the platform it's running on.
Comment 1 Kai Uwe Broulik 2020-04-01 06:54:02 UTC

*** This bug has been marked as a duplicate of bug 328987 ***