control: retitle -1 cinnamon-screensaver-command hungs if locking
already locked screen
Hi,
I have been able to reproduce this issue. I believe it's very similar
to the other one you reported.
In my test, I waited long enough with the screen locked, that just one
second call to cinnamon-screensaver-command failed:
marga@penelope:~$ date; cinnamon-screensaver-command -l; date;
cinnamon-screensaver-command -l; date
dom abr 8 18:04:50 CEST 2018
dom abr 8 18:04:51 CEST 2018
Traceback (most recent call last):
File
"/usr/share/cinnamon-screensaver/cinnamon-screensaver-command.py", line
73, in on_client_ready
self.perform_action()
File
"/usr/share/cinnamon-screensaver/cinnamon-screensaver-command.py", line
90, in perform_action
self.client.proxy.call_lock_sync(self.message)
GLib.Error: g-io-error-quark: Se alcanzó el tiempo de expiración (24)
<... and it hungs there forever ...>
So, what I see happening here is that cinnamon-screensaver-command is
trying to lock a screen that is already locked. It times out and then
hungs, like when it can't lock because of a popup. It's likely that
this bug is the same as 895150. In other words,
cinnamon-screensaver-command misbehaves when it fails to lock the
screen, regardless of why it fails.
--
Regards,
Marga