Comment 7 for bug 608396

Revision history for this message
Tim Barrick (t-barrick) wrote : Re: KeePassX 0.4.3 bricks keyboard in Ubuntu 10.04

I have been struggling with this issue for several months now and have finally found a way to consistently reproduce the bug on my system as well as a way to avoid causing the issue in the first place. I am running Ubuntu 10.04 with KeePassX 0.4.3. Before upgrading my OS and KeePassX, I did not see this problem.

To reproduce:
1. I set my Global Auto-Type Shortcut to Ctrl + Shift + v
2. I set up a new keePassX entry with the username of "t" and a blank password. I think the letter t is irrelevant, but I include it as part of my setup.
3. I set up the auto type window in my Comment section as follows "Auto-Type-Window: *"
4. I opened a gedit window and performed my Global Auto Type shortcut by pressing Ctrl+Shift+v making sure to continue holding down the Ctrl and Shift keys until the letter t is entered. If I continue holding the Ctrl and Shift Key down while the auto-type is performed, the problem will manifest shortly.
5. I start typing in my gedit window with lowercase letters, everything looks fine. As soon as I enter an uppercase letter using the shift key, the Shift key begins to behave as if it is stuck down. To fix this, I have to reboot, or do Ctrl-Alt-F1 and Ctrl-Alt-F8 (this rarely works for me).

Workaround:
So the key to this workaround is to not hold down your modifier keys when the auto-type begins. To make sure I have time to release my modifier keys, I have changed the Pre-Gap in advanced settings (Extras -> Settings -> Advanced) to 1000ms. This gives me 1 second to get my pinky finger off of the Shift and Ctrl keys before the auto-type begins.