"You have caps lock on" stays on when caps lock is changed

Bug #410544 reported by Richard Cavell
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gksu (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

1. I turn caps lock on.
2. I run a program that uses gksudo to prompt me for my password.
3. It gives me the password prompt, including the phrase "You have caps lock on".
4. Another program (Steam) steals my keyboard focus from the password prompt.
5. I turn caps lock off while the keyboard focus is not within the password prompt.
6. I put my keyboard focus back into the password prompt.

Now the "You have caps lock on" message is still there, while I don't have caps lock on. Presumably the window polls for caps lock to be turned off. It should also at least poll for when the window goes in focus again, and test caps lock again when focus is regained.

Ubuntu Karmic alpha 3 with all updates applied.

[Please modify the package choice if I got it wrong.]

Revision history for this message
xtknight (xt-knight) wrote :

Actually I think the bug is in an app being able to steal focus from gksu. Should that be possible?

Perhaps gksu's capslock detection should be more robust, too.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gksu (Ubuntu):
status: New → Confirmed
Mathew Hodson (mhodson)
tags: removed: caps gksudo lock password
Revision history for this message
David Chen (david.chen) wrote :

Hi, I am seeing similar issue, which can be reproduced by steps below:

1. Open the terminal, type the below command in the shell prompt:

gksu ls /

2. GUI password prompt will appear, now press “Caps Lock” button.
3. Message will appear “You have capslock on”.
4. Press “Caps Lock” button again, this message is not going away, but triangle symbol shows correct state.
Is it possible to just remove that message? Triangle symbol should be sufficient.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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