Beryl/Emerald won't allow gnome-screensaver screen-unlock dialog to have input focus

Bug #97637 reported by Karl Hegbloom
10
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: emerald

I don't know if this bug ticket belongs to gnome-screensaver or to emerald. Since it does not happen when Metacity is the window manager, I must assume that it's emerald's problem.

I often have two users logged in at the same time via GDM. When I switch between them, it automatically locks the screen (even when I try to configure it NOT to -- one user is a dedicated MythTV login, and I don't want that to screenlock). When I switch back to a login where Beryl and Emerald are running, the gnome-screensaver dialog appears, but I cannot type into it. I have to go to a linux console, log in, and kill the gnome-screensaver to get back in. If a terminal or editor were the last focused windows, I can see what I tried to type into the unlock dialog.

(Another annoyance; probably the subject of a second bug report; is that if I use the logout dialog to switch user, I must enter the password at the GDM screen, and then again at the gnome-screensaver unlock dialog. Can't Dbus be used for this or something?)

Revision history for this message
Robin Sheat (eythian) wrote :

I have an issue with compiz on Feisty that I think may be the same thing.

When my laptop is suspended, the screen is locked, when it wakes it asks for the password. If, before I manage to type my password, a network connection is set up, then a notification from nm-applet very briefly flashes on the screen. At this moment the password dialogue loses keyboard focus, and no amount of clicking on it will give it back, and I'm forced to alt-ctrl-backspace to restart X. An obvious workaround is to not plug the network in until I've entered the password, but this doesn't help if it auto connects to a wireless network quickly.

I haven't attempted to see if waiting for the notification to go away helps at all, I just noticed the connection between the notification and the losing focus tonight.

Revision history for this message
Karl Hegbloom (karl.hegbloom) wrote : Re: [Bug 97637] Re: Beryl/Emerald won't allow gnome-screensaver screen-unlock dialog to have input focus

On Wed, 2007-05-30 at 13:43 +0000, Eythian wrote:
> [ ... ] At this moment the password dialogue loses
> keyboard focus, and no amount of clicking on it will give it back, and
> I'm forced to alt-ctrl-backspace to restart X.

I'm not certain that is what went wrong when I reported the bug. I
don't think anything had stolen the keyboard focus. There should be a
way to prevent that from being possible. It seems to me that the
screensaver would already have a grab anyhow...?

Instead of Ctrl-Alt-Backspace, you could use Ctrl-Alt-F1, log in, then
execute "killall gnome-screensaver". After that, press Alt-F7, and you
should have access.

Revision history for this message
Máté Őry (orymate) wrote :

This might be a release critical compiz bug.
I got the same for nautilus' vfs authentication dialog. I had to kill nautilus.

Revision history for this message
pliz (pliz) wrote :

I have the same problem with compiz on ubuntu feisty. Cannot log in after suspend.

Revision history for this message
Nick Barcet (nijaba) wrote :

Same here, and not only after suspend, almost every time the screen gets lock due to inactivity.
What's worse is that what I am typing (and it is generally my password) gets sent to the last app I was using before locking. Great way to send my password to an irc chan... :(

Revision history for this message
darkm00d (darkm00d+launchpad) wrote :

I noticed the same problem (running Gutsy). With me the screen-saver regains its focus after I have typed some stuff although I can't figure out exactly when it regains focus.

What is quiet worse is that when the screen-saver loses focus, I can execute arbitrary stuff in my gnome-session. For example, at one point I could press Alt+F2 and type "xterm<enter>". At this point the screen-saver got the focus back and after logging back in I saw a new xterm window sitting pretty on the desktop.

In short, this sounds like a *major* security problem to me and not just some annoyance as others have reported so far.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.