Bug 402824

Summary: Ark doesn’t show progression when creating a 7zip, jar or multi-part zip
Product: [Applications] ark Reporter: ariasuni <aria>
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: REOPENED ---    
Severity: normal CC: bugseforuns, justin.zobel, rapiteanu.catalin, rthomsen6
Priority: NOR    
Version: 19.08.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=470654
Latest Commit: Version Fixed In: 19.04.3
Sentry Crash Report:
Attachments: Screenshot showing my plugin settings

Description ariasuni 2019-01-03 15:02:20 UTC
SUMMARY
When creating a big archive, and unlike to decompressing, there is no progression bar, only a waiting indicator in the notification applet.

STEPS TO REPRODUCE
1. launch the creation of a big archive with a slow algorithm

OBSERVED RESULT
There’s only a waiting indicator but no indication of the progress.

EXPECTED RESULT
There’s a progression indicator like when decompressing an archive.

SOFTWARE/OS VERSIONS
Arch Linux
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.53.0
Qt Version: 5.12.0
Comment 1 Elvis Angelaccio 2019-01-29 14:40:31 UTC
What kind of archive are you trying to create? (tar/zip/etc.)
Comment 2 ariasuni 2019-01-30 20:26:41 UTC
The reported behavior affects all kinds of archives.
Comment 3 Viorel-Cătălin Răpițeanu 2019-02-12 15:06:30 UTC
The system progress bar when compressing a file is indeed not displaying the current status. Can be observed when you're adding a ~1Gb to an archive.
Comment 4 Ragnar Thomsen 2019-03-30 09:49:50 UTC
Fixed in commit ce2f7f6690be1e5165ec1300affeabd5cc146e31
Comment 5 Patrick Silva 2019-04-22 13:11:23 UTC
ark 19.04 is still showing useless ping-pong "progress bar" in notifications appet
while compresses files. Reopening...
Comment 6 Elvis Angelaccio 2019-06-09 10:53:58 UTC
Git commit 97bb6421e28765aab5774c9f2633cf5304002e59 by Elvis Angelaccio.
Committed on 09/06/2019 at 09:02.
Pushed by elvisangelaccio into branch 'Applications/19.04'.

CreateJob: connect to progress() signal instead of KJob::percent()

Summary:
Another attempt at fixing #402824 after ce2f7f6690be.

This should fix progress reporting also for libzip and libarchive plugins.
The problem with those plugin is that CreateJob starts two nested threads.
FIXED-IN: 19.04.3

Reviewers: rthomsen

Subscribers: kde-utils-devel, #ark

Tags: #ark

Differential Revision: https://phabricator.kde.org/D21686

M  +2    -3    kerfuffle/jobs.cpp

https://commits.kde.org/ark/97bb6421e28765aab5774c9f2633cf5304002e59
Comment 7 Patrick Silva 2019-07-13 15:07:52 UTC
Still ping-pong "progress bar" while Ark 19.04.3 creates an archive.


Operating System: Arch Linux 
KDE Plasma Version: 5.16.3
KDE Frameworks Version: 5.60.0
Qt Version: 5.13.0
Comment 8 Elvis Angelaccio 2019-07-14 20:24:40 UTC
Can you check which plugin are you using to creare the archive?
Comment 9 Patrick Silva 2019-07-14 20:54:59 UTC
Created attachment 121513 [details]
Screenshot showing my plugin settings
Comment 10 Patrick Silva 2019-09-10 19:33:27 UTC
The progress bar works as expected while Ark compresses files to any of the following formats: tar, tar.bz2, tar.gz, tar.lz,tar.lz4, tar.lzma, tar.z, tar.zst, zip.

The progress bar never works while Ark compresses files to 7zip or jar formats.

Operating System: Arch Linux 
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.1
Comment 11 Patrick Silva 2019-09-10 20:06:08 UTC
ops, the progress bar also does not work while creating a zip archive divided in several parts (file.zip.001, file.zip.002, etc).
Comment 12 2wxsy58236r3 2022-10-05 09:09:06 UTC
*** Bug 459361 has been marked as a duplicate of this bug. ***
Comment 13 2wxsy58236r3 2022-10-05 09:09:09 UTC
*** Bug 459360 has been marked as a duplicate of this bug. ***
Comment 14 Fabian Arndt 2023-06-05 02:07:14 UTC
*** Bug 459359 has been marked as a duplicate of this bug. ***