Bug 451118

Summary: File count in progress notification switches to exponential representation with large transfer
Product: [Plasma] plasmashell Reporter: amy
Component: NotificationsAssignee: Plasma Bugs List <plasma-bugs>
Status: ASSIGNED ---    
Severity: normal CC: fanzhuyifan, kde, kfm-devel, nate, xxx43615xxx
Priority: NOR Keywords: junior-jobs, usability
Version: 6.1.4   
Target Milestone: 1.0   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of the progress notification showing the exponential number representation
another example of the file count display bug

Description amy 2022-03-04 06:08:37 UTC
Created attachment 147272 [details]
Screenshot of the progress notification showing the exponential number representation

SUMMARY

When transferring large batches (over 1,000,000) of files in Dolphin, in the transfer progress notification, in the Show Details section, the file count switches to an exponential representation of the number when it should remain in a natural format.

STEPS TO REPRODUCE
1. Transfer large quantity of files using Dolphin
2. Show Details in the progress notification
3. Observe strange representation once the count reaches a certain threshold

OBSERVED RESULT

File count switches to exponential representation after reaching a certain threshold.

EXPECTED RESULT

File count should remain in natural format.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro 5.16
(available in About System)
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

The transfer was done over SMB protocol.
Comment 1 43615 2024-02-25 10:19:27 UTC
Can confirm, just happened to me with Dolphin 23.08.5. Only affects the current count, not the total. Looks like the wrong format is used and it wasn't tested with 7-digit file counts.

The transfer is being done via NFS; my system (and KDE) locale is C.UTF-8.
Comment 2 43615 2024-02-25 10:21:10 UTC
Created attachment 166088 [details]
another example of the file count display bug
Comment 3 Bug Janitor Service 2024-06-03 23:45:19 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4404