i3 / i3lock

improved screen locker
https://i3wm.org/i3lock
BSD 3-Clause "New" or "Revised" License
921 stars 404 forks source link

Lock can be circumvented by opening rofi #162

Closed saligrama closed 6 years ago

saligrama commented 6 years ago

I use i3lock combined with glindste/xwobf to lock the screen, blurring the window contents behind it. This is paired with xss-lock to lock on suspend when my laptop lid is closed.

This part works fine, but when I open the laptop up there is a delay before i3lock can lock the screen. During this time I can open rofi, and this causes i3lock to fail. A video of the bug is here:

https://www.youtube.com/watch?v=bJyUOYb_6Rk

I'm using Arch Linux with i3-gaps on a Gigabyte Aero 14 with an i7-6700HQ and a GTX 1060 (proprietary drivers with bumblebee). i3lock is version 2.9.1-2. I'm not sure if this bug is reproducible on systems without a dedicated GPU.

Airblader commented 6 years ago

35

This might perhaps be addressed in the (not yet released) #155. If not, you can try opening a ticket for rofi asking them to exit when they lose input focus.

Airblader commented 6 years ago

As of right now it is released, in version 2.10. Sometimes things happen fast.

Airblader commented 6 years ago

https://github.com/DaveDavenport/rofi/issues/728