Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Andreas Radke (AndyRTR)
Monday, 18 November 2019, 21:03 GMT
Reason for closing:  Fixed

Loading...