Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-94259

High CPU load on embedded targets caused by timers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.12, 5.13, 5.14, 5.15, 6.0, 6.1
    • Fix Version/s: 5.15.8, 6.2.0 Alpha
    • Component/s: Virtual Keyboard
    • Labels:
      None
    • Platform/s:
      All
    • Commits:
      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            jakoivik Jarkko Koivikko
            Reporter:
            gagi Dominik Holland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes