Screensaver and Lock Screen don't invoke when GTK3 menu is open
If any GTK3 menu is open when the screensaver is supposed to kick in (as set in the Power Manager), the screensaver is delayed until the menu is closed. (1)
If the screen blank timeout (as set in the Power Manager) is subsequently lapsed, the screen does turn black, but when moving the mouse, the desktop instead of the lock screen is shown. (2)
Once the menu is closed, the screensaver (1) or the lock screen (2) is shown as 'normal'.
To reproduce:
- Open any GTK3-based application
- Open a context menu within the application
- Leave it open
- Watch as the screensaver does not start
It happens in both Xfce applications and components (e.g. panel menus, Thunar's menus) as well as non-Xfce applications (e.g. Xarchiver).
GTK2 applications' context menus do not seem to inhibit the screensaver. Compositing also does not seem to be of any influence, as it happens both with and without a compositor (both Xfwm4's built-in compositor as well as Picom).
- System: Arch Linux
- GTK version: 3.24.24 (gtk3-classic)
- Xfce4-Screensaver: 4.16.0