2020-11-29 07:14:19 |
Doug Brown |
description |
In Ubuntu MATE 20.04, a Qt program with an indeterminate progress bar (meaning its minimum and maximum values have both been set to zero) does not display properly. It is supposed to animate in a way that shows that something is happening with an unknown time remaining. Instead, it sits still with its progress bar showing approximately 25 to 30% progress.
To test this, make a simple Qt program with a QProgressBar in the main window, and add these lines to the constructor of the main window:
ui->progressBar->setMinimum(0);
ui->progressBar->setMaximum(0);
This problem is not present in Ubuntu MATE 18.04, and it's also not present in standard Ubuntu 20.04. Both of those versions correctly animate the indeterminate progress bar. It's unclear to me which package is at fault, but it seems to be something specific to Ubuntu MATE because standard Ubuntu 20.04 doesn't have this problem. |
In Ubuntu MATE 20.04, a Qt program with an indeterminate progress bar (meaning its minimum and maximum values have both been set to zero) does not display properly. It is supposed to animate in a way that shows that something is happening with an unknown time remaining. Instead, it sits still with its progress bar showing approximately 25 to 30% progress.
To test this, make a simple Qt program with a QProgressBar in the main window, and add these lines to the constructor of the main window:
ui->progressBar->setMinimum(0);
ui->progressBar->setMaximum(0);
This problem is not present in standard Ubuntu 20.04. Standard Ubuntu correctly animates the indeterminate progress bar. It's unclear to me which package is at fault, but it seems to be something specific to Ubuntu MATE because standard Ubuntu 20.04 doesn't have this problem.
Ubuntu MATE 18.04 also has this problem with Qt 5. With Qt 4 it doesn't have this problem. |
|