GUI: Strange keyboard behaviour
|Reported by:||eriktorbjorn||Owned by:||eriktorbjorn|
Current ScummVM SVN version
This may be partly an SDL problem (Debian 1.2.9) packages, but here's what's happening to me. In the GUI, I try to enter a ! in an input field.
Sometimes, I only get a key down event for the shift key, not for the ! key. I have no idea why.
Assuming I do get key down events for both keys, I first get one for the Shift key (keycode 304) and one for the ! key (keycode 33). So far, so good.
If I release the ! key before the Shift key, I get a key up events for keycodes 33 and 304, in that order. That's fine.
If I release the Shift key before the ! key, I only get a key up event for the Shift key, keycode 304.
Since the GUI thinks the ! is still held down, it will begin repeating.
Ticket imported from: #1498735. Ticket imported from: bugs/2649.