Bug 334051 - Locker or screen saver can't be started while mouse button is depressed
Summary: Locker or screen saver can't be started while mouse button is depressed
Status: RESOLVED DUPLICATE of bug 78871
Alias: None
Product: kscreensaver
Classification: Miscellaneous
Component: general (show other bugs)
Version: 4.11.5
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kscreensaver bugs tracking
Depends on:
Reported: 2014-04-29 04:52 UTC by kdebugs
Modified: 2015-01-23 13:52 UTC (History)
0 users

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 kdebugs 2014-04-29 04:52:55 UTC
Obviously for an activity timeout, this is less of a problem (STILL a problem, mind you, since something could accidentally get laid on the mouse.), but I want to be able to have a script periodically lock the session even when not idle.  This bug prevents me from forcing a lock.

Reproducible: Always

Steps to Reproduce:
1. Click and hold a mouse button, e.g. the left one.
2. Simultaneously press Ctrl+Alt+L (or whatever shortcut you have installed.
(alternately, run:
qdbus --literal org.freedesktop.ScreenSaver /ScreenSaver Lock
qdbus --literal org.freedesktop.ScreenSaver /ScreenSaver SetActive bool:True
Actual Results:  
The locker or screensaver fails to start.  If using the last command (above), the output will be "true" instead of "[]".

Expected Results:  
The locker or screen saver should activate.

Observed on Ubuntu 13.10 (KDE 4.11.5), but I'm guessing this is a more widespread issue.  If there's truly no way to programmatically force a session lock, I would consider this a major bug indeed.
Comment 1 Martin Flöser 2015-01-23 13:52:02 UTC

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