Bug 487261 - Backup progress notification has incorrect formatting of file count
Summary: Backup progress notification has incorrect formatting of file count
Status: REPORTED
Alias: None
Product: kup
Classification: Applications
Component: general (show other bugs)
Version: 0.9.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Simon Persson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-20 01:47 UTC by 43615
Modified: 2024-05-20 01:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Example of bug (187.36 KB, image/png)
2024-05-20 01:47 UTC, 43615
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 43615 2024-05-20 01:47:23 UTC
Created attachment 169639 [details]
Example of bug

SUMMARY
When performing a backup, kupdaemon creates a notification displaying the transfer status. The completed file count within it is displayed incorrectly if it's at least 7 digits long.

STEPS TO REPRODUCE
1. Create and execute backup plan that involves at least 1000000 files (only tested with bup backend).
2. Observe the kupdaemon notification until over 1000000 files have been copied.

OBSERVED RESULT
The displayed amount of completed files is displayed in scientific notation. All other instances of sufficiently large numbers are correctly displayed as integers.
This might be another instance of #451118, caused by some common underlying component.

EXPECTED RESULT
All numbers should be displayed as integers.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 6.9.1-arch1
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
System locale is set to C.UTF-8