Bug 457884

Summary: Progress indicator: File count vs % complete mismatch
Product: [Applications] kup Reporter: Paul Worrall <p.r.worrall>
Component: generalAssignee: Simon Persson <simon.persson>
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot
screenshot later in the backup

Description Paul Worrall 2022-08-14 15:41:59 UTC
Created attachment 151321 [details]
screenshot

STEPS TO REPRODUCE
1.  Start a new backup

OBSERVED RESULT
The progress indicator pop-up shows a file count of 4,416 of 436,699 but the progress bar says 39% complete. (4,416 is 1% of 436,699)

EXPECTED RESULT
File count and % complete in agreement

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.25
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.15.0-46-generic (64-bit)
Graphics Platform: X11
Processors: 2 × AMD A6-6400K APU with Radeon(tm) HD Graphics
Memory: 7.7 GiB of RAM
Graphics Processor: AMD CEDAR
Manufacturer: NOVATECH LTD
Product Name: BB-64004H
System Version: V1.0
Comment 1 Paul Worrall 2022-08-14 15:52:51 UTC
Created attachment 151322 [details]
screenshot later in the backup

They seem to match better as the backup proceeds
Comment 2 Paul Worrall 2022-09-25 16:03:10 UTC
Now I've looked at the code it's dawned on me that the % complete figure is based on kilobytes, not number of files. Closing this bug, Sorry about the noise.