Bug 207058 - "Lock" in workrave stayed locked forever, even after entering a password
Summary: "Lock" in workrave stayed locked forever, even after entering a password
Alias: None
Product: Fedora
Classification: Fedora
Component: workrave
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
Whiteboard: bzcl34nup
Depends On:
TreeView+ depends on / blocked
Reported: 2006-09-19 00:20 UTC by Stewart Adam
Modified: 2008-04-04 01:39 UTC (History)
4 users (show)

Clone Of:
Last Closed: 2008-04-03 15:49:33 UTC

Attachments (Terms of Use)

Description Stewart Adam 2006-09-19 00:20:37 UTC
Description of problem:
When performing a timeout and clicking "Lock", gnome-screensaver if enabled but
after the passwored 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):

How reproducible:

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:

Comment 1 Tomas Mraz 2006-10-11 08:45:07 UTC
When xscreensaver is installed instead of gnome-screensaver it works fine. CCing
Ray if he has some insight on this.

Comment 2 Ray Strode [halfline] 2006-10-13 14:31:43 UTC
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.

is workrave grabbing the keyboard after unlocking the screen?  There may be a
race there or something

Comment 3 Tomas Mraz 2006-10-13 15:33:35 UTC
Yes, workrave tries to grab the keyboard and mouse after 2s with 2s intervals
after it calls gnome-screensaver-command to lock the screen. It needs to grab it
for the workrave's rest break window. Is there any way how it could wait for the
gnome-screensaver to be unlocked and try to grab just after that?

Comment 4 Tomas Mraz 2008-04-03 15:49:33 UTC
Reported upstream:

Comment 5 Bug Zapper 2008-04-03 18:15:25 UTC
Based on the date this bug was created, it appears to have been reported
against rawhide during the development of a Fedora release that is no
longer maintained. In order to refocus our efforts as a project we are
flagging all of the open bugs for releases which are no longer
maintained. If this bug remains in NEEDINFO thirty (30) days from now,
we will automatically close it.

If you can reproduce this bug in a maintained Fedora version (7, 8, or
rawhide), please change this bug to the respective version and change
the status to ASSIGNED. (If you're unable to change the bug's version
or status, add a comment to the bug and someone will change it for you.)

Thanks for your help, and we apologize again that we haven't handled
these issues to this point.

The process we're following is outlined here:

We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.

Comment 6 John Poelstra 2008-04-04 01:39:18 UTC
nevermind comment #5 :)

Note You need to log in before you can comment on or make changes to this bug.