Bug 427252 - Ark should check if there is sufficient free space in the destination before creating an archive by any method
Summary: Ark should check if there is sufficient free space in the destination before ...
Status: REOPENED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 24.01.75
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-02 14:50 UTC by Patrick Silva
Modified: 2023-11-16 16:08 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-10-02 14:50:58 UTC
SUMMARY
I tried to compress, via context menu of Dolphin > Compress > Here (as tar.gz), hundreds of jpg files located in a partition with very low free space. Ark started to compress but the operation failed without any feedback.

EXPECTED RESULT
Ark should only compress when there is enough free space in destination

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.19.90
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION
bug 393959 is similar
Comment 1 Justin Zobel 2020-11-22 07:35:03 UTC
While calculating the resulting tar size would be quite difficult it should not fail without an error.

Confirmed on openSUSE Tumbleweed.
Comment 2 Nicolas Fella 2021-12-10 12:22:44 UTC

*** This bug has been marked as a duplicate of bug 393959 ***
Comment 3 Patrick Silva 2022-09-19 23:11:10 UTC
bug 393959 is fixed but this one persists with Ark 22.08.1. The compression starts and then a notification falsely says 'Compressing a file (Finished)' when the it is aborted due to lack of space.

SOFTWARE/OS VERSIONS
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
Comment 4 Patrick Silva 2022-09-20 02:06:42 UTC
Well, bug 393959 is fixed when I extract an archive via context menu of Dolphin, but it persists when I extract directly with Ark.
Ark should check if there is suffcient free space in the destination regardless the way used to create an archive.