Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.1, 6.7.2
-
None
-
-
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
For Gerrit Dashboard: QTBUG-127112 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
576591,4 | QWindows11Style: Use QProgressStyleAnimation for QProgressBar | dev | qt/qtbase | Status: MERGED | +2 | 0 |
576672,2 | QWindows11Style: Use QProgressStyleAnimation for QProgressBar | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
577668,2 | QWindows11Style: Use QProgressStyleAnimation for QProgressBar | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |