Bug 726 - Workrave doesn't interoperate well with gnome-screensaver
Status:
RESOLVED DUPLICATE
Component:
GUI :: gtkmm
Version:
1.8.5
Hardware:
PC Linux
Importance:
P4 normal
Target Milestone:
---
Assignee:
Rob Caelers
URL:
Depends on:
Blocks:
Reported:
Apr 3 2008 17:48:58 UTC
by:
Tomas Mraz
Modified:
Apr 3 2008 19:52:12 UTC
WhoWhenWhatRemovedAdded
Rob CaelersApr 3 2008 19:52:12 UTCstatusNEWRESOLVED
resolutionDUPLICATE
Description
Tomas Mraz  Apr 3 2008 17:48:58 UTC
Originaly reported by Stewart Adam here: https://bugzilla.redhat.com/show_bug.cgi?id=207058

Description of problem:
When performing a timeout and clicking "Lock", gnome-screensaver if enabled but
after the password is typed and gnome-screensaver is disactivated, the screen
remains black. I have to switch VT's and kill workrave.

Version-Release number of selected component (if applicable):
workrave-1.8.3-2.fc6

How reproducible:
Always

Steps to Reproduce:
1. Click the teacup to start a timeout
2. Click "Lock"
3. Enter your password
  
Actual results:
The screen remains black / locked, even though gnome-screensaver's gone

Expected results:
It resumes

Additional info:
gnome-screensaver does this:

        do {
                result = gs_grab_move_keyboard (grab, window, screen);
                gdk_flush ();
        } while (!result);

        do {
                result = gs_grab_move_mouse (grab, window, screen, hide_cursor);
                gdk_flush ();
        } while (!result);

One of those two loops isn't ever breaking while workrave is running and that's
why gnome-screensaver isn't unlocking until you kill workrave.
Comment 1
Tomas Mraz  Apr 3 2008 17:53:01 UTC
Ah, this is a duplicate of bug 574, still applies to workrave-1.8.5 and gnome-screensaver-2.20.0.
Comment 2
Rob Caelers  Apr 3 2008 19:52:12 UTC
Fixed. Thanks for the additional info!


*** This bug has been marked as a duplicate of bug 574 ***