Bug 459359 - Unhelpful ping-pong 'progress' bar during creation of an single-file archive
Summary: Unhelpful ping-pong 'progress' bar during creation of an single-file archive
Status: RESOLVED DUPLICATE of bug 402824
Alias: None
Product: ark
Classification: Applications
Component: plugins (show other bugs)
Version: 22.11.80
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-19 00:20 UTC by Patrick Silva
Modified: 2023-06-05 02:07 UTC (History)
3 users (show)

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


Attachments
Video showing the unhelpful ping-pong 'progress' bar (126.40 KB, video/webm)
2022-09-19 00:59 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***