-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.6.0
-
None
-
Windows 10
-
-
fe4fad790ed187bf1d8c5bf61066fe00823fbe7e a064bcf883f4552af3c81756dceda7c53cb8b061
When pressing and holding down a key, the repeating QKeyEvents always have isAutoRepeat set to false.
At the moment QWinRTScreen is using the value from CorePhysicalKeyStatus.RepeatCount to determine if it is a repeat event. However I think CorePhysicalKeyStatus.WasKeyDown should be used. As on the first event this is false, but for the subsequent repeated events this is set to true by Windows.
| For Gerrit Dashboard: QTBUG-52055 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 153671,4 | winrt: Fix QKeyEvent::isAutoRepeat | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |
| 153750,3 | winrt: mimic desktop Window's "QKeyEvent::isAutoRepeat" behavior | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |