https://bugs.kde.org/show_bug.cgi?id=450015
Bharadwaj Raju <bharadwaj.raju...@protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/util |https://invent.kde.org/util |ities/kdialog/commit/071216 |ities/kdialog/commit/1a808a |ef09c80c07027bf37db216d0b90 |c2b8a007c6cfff777a69d04f15b |d2bfbf3 |99b9f4c --- Comment #5 from Bharadwaj Raju <bharadwaj.raju...@protonmail.com> --- Git commit 1a808ac2b8a007c6cfff777a69d04f15b99b9f4c by Bharadwaj Raju, on behalf of shenleban tongying. Committed on 15/01/2023 at 08:59. Pushed by bharadwaj-raju into branch 'release/22.12'. fix: disable progressdialog's autoreset `QProgressDialog` has a default `autoreset` turned on which will reset the progress bar when max value reached and it will prevents 100% being shown The source of truth is here: https://github.com/qt/qtbase/blame/bd99d02123dcb9e406d06605fe0fa8a9d2cea3a4/src/widgets/dialogs/qprogressdialog.cpp#L655-L657 I don't know why `QProgressDialog` have `autoreset` while `QProgressBar` don't, but it is there for at least 10 years. To test this: ``` dbusRef=`kdialog --progressbar "init val" 3` qdbus $dbusRef Set "" value 1 sleep 1 qdbus $dbusRef Set "" value 2 sleep 1 qdbus $dbusRef Set "" value 3 sleep 1 ``` (cherry picked from commit 071216ef09c80c07027bf37db216d0b90d2bfbf3) M +1 -0 src/progressdialog.cpp https://invent.kde.org/utilities/kdialog/commit/1a808ac2b8a007c6cfff777a69d04f15b99b9f4c -- You are receiving this mail because: You are watching all bug changes.