Package: xautolock Version: 1:2.2-4 Severity: important -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi! I have been bitten several time by this problem. The scenario is pretty simple: 1. xautolock -disable 2. do some random stuff 3. put your laptop to sleep 4. open your laptop, it is not locked Or more technically: 1. xautolock -disable 2. echo 3. xautolock -enable && xautolock -locknow xautolock uses some atom attached to its window object to pass messages between instances. Only one message can be stored. If a new message is "sent", it replaces the previous one. Messages are read once per second. There are some comments on the code to explain that things could be done better but I am not savvy enough with X to understand a thing. I think that "xautolock -locknow" should lock the screen, even when xautolock has been disabled. Therefore, I propose this change of behaviour: -locknow implies -enable. And this should be implemented on the "server side". As a work around, I use: xautolock -locknow && sleep 1 && xautolock -enable && sleep 1 && xautolock -locknow In case xautolock is enabled, my screen will be locked in less than a second. Otherwise, it will be locked in less than 3 seconds. You can lower the priority of this bug if you think this bug report is bogus. If you agree with my proposition, I can provide a patch. - -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (101, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.10-2-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages xautolock depends on: ii libc6 2.17-92 ii libx11-6 2:1.6.1-1 ii libxext6 2:1.3.2-1 ii libxss1 1:1.2.2-1 Versions of packages xautolock recommends: ii xtrlock 2.2 xautolock suggests no packages. - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIcBAEBCAAGBQJSE/GYAAoJEJWkL+g1NSX5YIwP/RWimE5i2XSrpmXGVLx5cWGZ 1M7r025hM1/sQUspuXvKGdcBpfOC3uoolHGOfNn5qH3UQ9VZphW38niv7P7ZEZPx fd9aDFI7q9flirzg879KMEW8OIu1Um102FGUXct3lzk+fNOwm9tIS3gdoVB1yZDM DC/WqGL/V4Ls1jw/qnjX9Ga+OvXI4GwKPyvUBoQ+I+5oBd0yQtp1ycSxG/0FlADc Gp7bV86KDxhZFDR/lVq+40nvBrr17ampouTu33HYu5cLiqjkGD1QofwZCezr+5jB eyUClaq0JdgRD3dFX4eqbewp0X2EicgPdI/u3jMZ2DbcFxD9i74c49VB9ZOT9xiR t8pCgpcJCOqoBPTi7/5Gkc6QF/MIxTo62mcEBJ/11XgOcZzwVbA/5/ZinF0yEn9c jO0AEFH9VEwW0fN7nHxvGeinevB+VlyxSF2WpZQDnrHHl87SsWzeL2ghxIKceJWs pXLpzwa3DGUjAtADupPdHHxgyabhsrP9sTCyCX7gAF2GBi1pDn0UlgxVifJAgmCN zqa5FWf8H1t4KLDtkZE0sz/lxk/jzzGXcEjxF1djuCXgA93hMSFwQWMgQ9mV5UuB KCZMBkMpFJ0wVg9C9oRETIUKjtSlNGUJ5CX6gIvR0v5VUebb9SYdMK+CUseFHGun HoiBf37NI7GajG/HyXow =dVC4 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

