FS#50784 - [xdg-utils] xprop should be a hard dependency with Gnome
Attached to Project:
Arch Linux
Opened by Nicolas Guillaumin (nguillaumin) - Thursday, 15 September 2016, 05:58 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 18 November 2019, 21:03 GMT
Opened by Nicolas Guillaumin (nguillaumin) - Thursday, 15 September 2016, 05:58 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 18 November 2019, 21:03 GMT
|
Details
xdg-screensaver cannot suspend the screensaver on Gnome 3
without xprop. xprop is listed as an optional dependency on
the package, with the hint "for Xfce support in xdg-open"
which doesn't mention Gnome or xdg-screensaver.
When xprop is not available, xdg-screensaver just silently fails without any warnings, making it difficult to diagnose what's going on. This has been reported upstream: https://bugs.freedesktop.org/show_bug.cgi?id=97811 Until this is fixed, I'd like to suggest that xprop is made a hard dependency on xdg-utils (at least on Gnome, if it's possible to do so). This has been affecting different users with different software that make use of xdg-screensaver, like RetroArch or VLC, or Chrome when watching videos (Netflix, ...) Additional info: * xdg-utils 1.1.1-4 Steps to reproduce: * Use Gnome 3 * Install xdg-utils * Ensure xorg-xprop is *not* installed * Monitor DBus with gdbus monitor --session --dest org.gnome.SessionManager * Grab a window ID with xwininfo * Run xdg-utils suspend <window id> The DBus monitor will show that a session inhibitor is put in place, but after 10s it will show that the inhibitor is removed: /org/gnome/SessionManager: org.gnome.SessionManager.InhibitorAdded (objectpath '/org/gnome/SessionManager/Inhibitor25',) /org/gnome/SessionManager: org.freedesktop.DBus.Properties.PropertiesChanged ('org.gnome.SessionManager', {'InhibitedActions': <uint32 8>}, @as []) ... /org/gnome/SessionManager: org.gnome.SessionManager.InhibitorRemoved (objectpath '/org/gnome/SessionManager/Inhibitor25',) /org/gnome/SessionManager: org.freedesktop.DBus.Properties.PropertiesChanged ('org.gnome.SessionManager', {'InhibitedActions': <uint32 0>}, @as []) * If you wait long enough, the screensaver still kicks in |
This task depends upon