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

Progress Bar Widget (QProgressBar) costs CPU cycles

    XMLWordPrintable

Details

    • 79ae2b3963f7356d4931de5fee67f2259ec7f6f9

    Description

      I created a GUI project with 64 Progressive Bars, their default value is 24. I noticed that the designer is slow (CPU usage >80%) whenever those widgets showing in the window. If I set the progressive bars' value to 0 or 100, the CPU usage drops to <2%.
      After compile, running the program with the simple GUI without any program added, the CPU usage is >40% constantly on my system.

      Attachments

        1. activity-show.png
          33 kB
          Paul McCullagh
        2. add-progress-bar.png
          79 kB
          Paul McCullagh
        3. profile-value=0.txt
          3 kB
          Paul McCullagh
        4. profile-value=50.txt
          23 kB
          Paul McCullagh
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            stuartx Stuart Xu
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes