[Portland-bugs] [Bug 13506] New: xdg-screensaver expects xprop to exit if the window disappears

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 3 21:11:31 PST 2007


           Summary: xdg-screensaver expects xprop to exit if the window
           Product: Portland
           Version: 1.0
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xdg-utils
        AssignedTo: portland-bugs at lists.freedesktop.org
        ReportedBy: dimster at gmail.com

As far as I understand, xdg-screensaver should resume the screensaver if the
window used to suspend it has disappeared - but this doesn't happen. Even
worse, if the window has disappeared, it's impossible to enable the screensaver
using "xdg-screensaver resume".

I found these lines in the xdg-screensaver code:

  # Start tracking $window_id
  $XPROP -id $window_id -spy > /dev/null &
  # Wait for xprop to edit, it means that the window disappeared
  wait $xprop_pid

(I assume it's "exit", not "edit".)
But 'xprop -spy' doesn't ever exit - and nowhere in the manual does it say that
it should. I even looked at the xprop source code; it has an infinite loop at
the end, so it looks like it was never intended to exit.

Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the Portland-bugs mailing list