Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.12, 5.13, 5.14, 5.15, 6.0, 6.1
-
None
-
-
63a944ff12580f2c333a162ecaecd12419a39c10 (qt/qtvirtualkeyboard/dev) f59e59b38ec0ea00747dab2b3acbcae61fb95494 (qt/qtvirtualkeyboard/6.2) 0d2174eb62852d173113d2fa5468775404744b81 (qt/tqtc-qtvirtualkeyboard/5.15)
Description
Pressing a key (without releasing) with auto repeat enable for a longer time increases the CPU load.
Pressing a key with auto repeat enabled causes starting a timer with 600 ms.
If the timer event occurs a new timer is started with 50 ms without killing the previous timer.
A new timer is now generated every 50 ms while the key is still pressed.
Releasing the key kills only the last generated timer. All other timers stay active.
Attachments
For Gerrit Dashboard: QTBUG-94259 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
353001,9 | Fix high CPU utilization caused by key repeat timer | dev | qt/qtvirtualkeyboard | Status: MERGED | +2 | 0 |
353269,2 | Fix high CPU utilization caused by key repeat timer | 6.2 | qt/qtvirtualkeyboard | Status: MERGED | +2 | 0 |
353270,2 | Fix high CPU utilization caused by key repeat timer | 5.12 | qt/qtvirtualkeyboard | Status: MERGED | +2 | 0 |
353271,2 | Fix high CPU utilization caused by key repeat timer | 6.1 | qt/qtvirtualkeyboard | Status: MERGED | +2 | 0 |
353273,2 | Fix high CPU utilization caused by key repeat timer | tqtc/lts-5.15 | qt/tqtc-qtvirtualkeyboard | Status: MERGED | +2 | 0 |