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

QProgressBar with Windows 11 style is using far too much cpu

    XMLWordPrintable

Details

    • Windows
    • 384acdc1c (dev), 4b4c5b06a (6.8), c109877ca (6.7)

    Description

      With the Windows 11 style, an indeterminate QProgressBar uses 100% of a cpu core on the main thread. In QWindows11Style::drawControl with QStyle::CE_ProgressBarContents, Qt always sends an update() when drawing the progress bar when isIndeterminate is true.

      This problem is not present with the Windows Vista style since it uses a QProgressStyleAnimation.

      Attachments

        1. QProgressBarCpu.zip
          1 kB
          Mathieu Genesse-Grenier
        For Gerrit Dashboard: QTBUG-127112
        # Subject Branch Project Status CR V

        Activity

          People

            owolff Oliver Wolff
            mgenessegrenier Mathieu Genesse-Grenier
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes