-
-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filecopy GUI error message and kdialog progress bar fixes #476
Filecopy GUI error message and kdialog progress bar fixes #476
Conversation
In practice kdialog wasn't used, because the package was built without USE_KDIALOG being defined. Fixes QubesOS/qubes-issues#8738
A while ago qfile-agent was changed to show graphical error messages (in addition to stderr messages) only if PROGRESS_TYPE=gui is set. Set it even if a progress bar window is not being shown, e.g. if the total estimated size is 0. Fixes QubesOS/qubes-issues#8738
The new syntax has existed for more than six years: https://invent.kde.org/utilities/kdialog/-/commit/d72ab46df8879024cda620beec9da71a674873dc#5d61d07d60f0444023012a7c0902c123179f8bdd
The estimated total size in bytes can be too large to use as kdialog's maximum. Use the default 100 instead and calculate a percentage for the current position, like in progress_zenity(). Fixes QubesOS/qubes-issues#8723
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #476 +/- ##
=======================================
Coverage 69.89% 69.89%
=======================================
Files 3 3
Lines 475 475
=======================================
Hits 332 332
Misses 143 143 ☔ View full report in Codecov by Sentry. |
14357a2
to
0ad16b2
Compare
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.2&build=2023120304-4.2&flavor=pull-requests New failures, excluding unstableCompared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.2&build=2023111404-4.2&flavor=update
Failed tests7 failures
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/85616#dependencies 6 fixed
Unstable tests
|
Fixes QubesOS/qubes-issues#8723
Fixes QubesOS/qubes-issues#8738