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

[REG] QProgressBar doesnt show properly if used as a busy indicator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 4.7.2
    • 4.7.0
    • None
    • Fedora 13 32bits with Gnome.
    • a5110b5d40b70fb44ed98aa8861b676df1e78385

      Im using Qt sdk for linux on fedora 13 (32bits - gnome), qt-sdk-linux-x86-opensource-2010.05.1, and Im having some problems using QProgressBar as a busy indicator setting the range from zero to zero.

      Im calling like this:

      QProgressBar progressBar;
      progressBar.setRange(0,0);
      ui->statusBar->addWidget(&progressBar);
      MyClass.myMethod();
      // inside my method I call qApp->processEvents() time to time;

      But it isnt working, properly. My QProgressBar start to fill is reseted time to time. But it should go to the end of the bar and go back. Is like a internal error on QProgressBar that is calling reset(). The same code work in windows 7 with Qt 4.6.3.

      Valgrind is pointing alot of use of uninitialized values on QElapsedTime objects. So a log of running my program on valgrind is attached. Funny that the QProgressBar works properly when my program is inside valgrind.

        1. padding.zip
          9 kB
        2. progress_bug.ui
          0.6 kB
        3. project.7z
          2.77 MB
        4. valgrind.log
          862 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            bachewii Jens
            ferrazrafael Rafael Louback Ferraz
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes