https://bugs.kde.org/show_bug.cgi?id=439312
Bug ID: 439312 Summary: SimulateUserActivity doesn't unlock the screen, even unlocking without password is enabled Product: kscreenlocker Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: plasma-b...@kde.org Reporter: fores...@sonic.net CC: bhus...@gmail.com Target Milestone: --- SUMMARY The SimulateUserActivity doesn't actually simulate user activity. Once the lock screen appears, moving the mouse or pressing a key will wake the screen (so long as it's still within the "Allow unlocking without password" time). However, a call to SimulateUserActivity() at that time is ignored, leaving the screen locked. STEPS TO REPRODUCE 1. Workspace Behavior: Screen Locking: Lock screen automatically: After 1 minute 2. Workspace Behavior: Screen Locking: Allow unlocking without password for: 300 seconds 3. In a shell: sleep 70; qdbus org.freedesktop.ScreenSaver /ScreenSaver SimulateUserActivity 4. Idle for 60 seconds 5. Notice the screen locker activate 6. Continue idling for 10 more seconds 7. Notice that the screen does not wake when SimulateUserActivity is called 8. Generate actual user activity (move the mouse or press a key) and notice that the screen does wake OBSERVED RESULT Screen doesn't wake in response to SimulateUserActivity EXPECTED RESULT Screen should wake, just as it does with actual user activity SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 21.04 KDE Plasma Version: 5.21.4 KDE Frameworks Version: 5.80.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION Problem exists with Wayland and X11 sessions. -- You are receiving this mail because: You are watching all bug changes.