]> cloud.milkyroute.net Git - dolphin.git/commit
Prevent inconsistent status bar progress reporting states
authorFelix Ernst <felixernst@zohomail.eu>
Thu, 13 Jun 2024 14:38:41 +0000 (16:38 +0200)
committerFelix Ernst <felixernst@kde.org>
Thu, 20 Jun 2024 09:45:32 +0000 (09:45 +0000)
commit9108534ce07fbdc5e8f037826049c37cf226d2e6
treea95995578c1691fa19a19bbcbc6659e4dc3a59b8
parent15eff9f5ada404632eb014ca3c00337592851b47
Prevent inconsistent status bar progress reporting states

Merge setting title and progress percent into one method. This
makes sure that the method can be called from all over the place
and will still always show a consistent state instead of partially
showing the progress percent for one progress but the label for
a different one.

This is to enable various tasks reporting progress at the same time
in a way that doesn't lead to a confusing mess for users. Usually
multiple tasks do not show progress at the same time, but when it
happens this commit should make sure that the user experience is
at least bearable.

Allow not having a "Stop" button next to the progress report for
tasks that cannot be stopped.
src/dolphinviewcontainer.cpp
src/dolphinviewcontainer.h
src/statusbar/dolphinstatusbar.cpp
src/statusbar/dolphinstatusbar.h