Login window eats first key (lightdm-gtk2-greeter, at least)

Bug #1307764 reported by Rene Herman
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
LightDM GTK Greeter
Fix Released
Undecided
Andrew P.

Bug Description

With at least the lightdm-gtk2-greeter; even though it visually has focus upon startup, the password entry box eats the first key GAINING focus when the mouse pointer was on it (or on the user-select box).

Both the login window and the mouse pointer are centered on startup, and for me and with at least the gtk2 greeter, this means that the mouse pointer is actually on the password entry box -- and therefore that lightdm seems to malfunction. It's only until I figured out that I first needed to kick my mouse out of the way upon startup that I understood that lightdm wasn't in fact more seriously broken...

I've "fixed" this manually by specifying a position= statement in the config file that avoid the centered mouse being on the password entry box after which things work fine, but this is of course not a nice thing to have to do.

Although I don't suppose it's THAT specific: I'm on a 1280x1024 screen...

affects: lightdm → lightdm-gtk-greeter
Revision history for this message
Andrew P. (kalgasnik) wrote :

I can confirm this bug. When tooltip is shown it receives focus and "eats" first key.

Gtk3 version is affected, it's just not too noticeable most of the time.
1. Click on password entry (focus it)
2. Move cursor to any widget with tooltip (users combobox)
3. Focus moved to tooltip - press any key, it is will be "eaten"

Fixing must be simple (If I don't missed something), I will upload patch soon.

Changed in lightdm-gtk-greeter:
assignee: nobody → Andrew P. (kalgasnik)
Revision history for this message
Rene Herman (rene.herman) wrote :

The above patch tooltip_focus_fix has been tested and is confirmed. Thanks for the quick response.

Andrew P. (kalgasnik)
Changed in lightdm-gtk-greeter:
status: New → Fix Committed
Sean Davis (bluesabre)
Changed in lightdm-gtk-greeter:
milestone: none → 1.8.5
Revision history for this message
Cody Pisto (cpisto) wrote :

I believe I am still seeing this issue (or one with the exact same symptoms) with lightdm-gtk-greeter 1.8.5-1ubuntu2~ubuntu14.04.1 on ubuntu 14.04

Upon boot, the first key press never works even though the password entry box has focus.

I also think others are seeing it and mistaking it for something else: http://askubuntu.com/questions/518675/first-password-often-wrong-when-unlocking-computer

Revision history for this message
Cody Pisto (cpisto) wrote :

Moving the mouse (any amount) first enables the first key press to work, so I'm guessing this is still some kind of focus related problem.

Revision history for this message
Andrew P. (kalgasnik) wrote :

Can you test latest greeter version from daily PPA?
https://launchpad.net/~lightdm-gtk-greeter-team/+archive/ubuntu/daily

Another option - this PPA:
https://launchpad.net/~kalgasnik/+archive/ubuntu/lightdm-gtk-greeter-one-window-daily

It's not merged to trunk yet, but this version have some major changes.

Andrew P. (kalgasnik)
Changed in lightdm-gtk-greeter:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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