Bug 459359

Summary: Unhelpful ping-pong 'progress' bar during creation of an single-file archive
Product: [Applications] ark Reporter: Patrick Silva <bugseforuns>
Component: pluginsAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aacid, fabian.arndt, rthomsen6
Priority: NOR    
Version: 22.11.80   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Video showing the unhelpful ping-pong 'progress' bar

Description Patrick Silva 2022-09-19 00:20:54 UTC
STEPS TO REPRODUCE
1. open Dolphin
2. right-click on a large file (I used a 1 GiB video file in my tests), hover over 'Compress' and
choose the option to create an archive of any format below:
tar.gz
tar
tar.bz2
tar.lzma
tar.xz
tar.Z
tar.lz4
tar.lz
tar.zst
3. 

OBSERVED RESULT
while the archive is created, Plasma shows a notification with a unhelpful ping-pong 'progress' bar


EXPECTED RESULT
notification with an helpful progress bar

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.90
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Graphics Platform: Wayland


ADDITIONAL INFORMATION
Plasma shows a notification with an helpful progress bar as expected if I compress a folder containing files instead of a single file.
Comment 1 Patrick Silva 2022-09-19 00:59:01 UTC
Created attachment 152204 [details]
Video showing the unhelpful ping-pong 'progress' bar
Comment 2 Patrick Silva 2022-11-12 11:41:10 UTC
Can also reproduce by creating a .arj archive.
Comment 3 Fabian Arndt 2023-06-04 01:32:11 UTC
This seems to be independent of the choosen format and it also happens if you create an archive via. Ark itself - not only via context menu.

The problem with progress bars is how you calculate them. In this case ark uses the file count, but this is cumbersome with big files or a mixed set with small and big files. File size might be a better option, but could be misleading if lots of small files slow down the process.

- At least for a single file operation the filesize would be helpful
- A data transfer rate would make a good addition
- One good solution might be to show two progress bars: current file and overall progress
Comment 4 Fabian Arndt 2023-06-05 02:07:14 UTC

*** This bug has been marked as a duplicate of bug 402824 ***