Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
None
-
5.4.1
-
Windows 8.1
Description
Holding key down causes key events to be sent with isAutoRepeat=false (normal?). If focus leaves to another application while key is pressed down and is lifted there, coming back to Qt application and pressing the key again sends key event with isAutoRepeat=true once for release and once for press event, after which it stays false again. How ever, if key was held down the whole time, isAutoRepeat is always false.
To reproduce:
1. open notepad
2. run attached application
3. press key down and click notepad window
4. release the key
5. focus Qt application again and press same key down again
There should be output that should be similar to this:
key: press autorepeat: false key: release autorepeat: true key: press autorepeat: true key: release autorepeat: false
Attachments
Issue Links
- relates to
-
QTBUG-57335 QKeyEvent::isAutoRepeat sometimes wrongly false in keyReleaseEvent
-
- Open
-