"You have caps lock on" stays on when caps lock is changed
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.]
tags: | removed: caps gksudo lock password |
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.