Bug 206385 - Ark fails silently when compressing files and there is no enough space left
Summary: Ark fails silently when compressing files and there is no enough space left
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2009-09-05 16:33 UTC by Alvaro Manuel Recio Perez
Modified: 2016-03-20 17:58 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alvaro Manuel Recio Perez 2009-09-05 16:33:26 UTC
Version:            (using KDE 4.3.0)
Compiler:           x86_64 architecture
OS:                Linux
Installed from:    Ubuntu Packages

When you try to create a compressed file, be it from the context menu on Dolphin or creating a new archive from an Ark window, if there is no enough space left when you add some files, Ark simply fails and the user is not informed.

Ark should give feedback to the user and explain the problem to him when files can't be added to an archive. This is especially important when this operation is initiated from the context menu of Dolphin as the user gets absolutely NO feedback.
Comment 1 Diederik van der Boor 2010-02-24 21:51:25 UTC
I've noticed ark also doesn't give any error message when you extract files to a read-only folder. Using KDE 4.4.0 here.
Comment 2 Igor Khanin 2010-10-08 11:35:32 UTC
Can confirm both issues. Working on a patch.
Comment 3 Raphael Kubo da Costa 2010-10-21 01:54:34 UTC
To keep things clear, this bug is only supposed to track the issue described by the original reporter; Diederik, can you file a separate report for the read-only bug?
Comment 4 Raphael Kubo da Costa 2010-12-08 02:19:09 UTC
Changing the default assignee in the currently open Ark bug reports to me.
Comment 5 Ragnar Thomsen 2016-03-20 17:58:13 UTC
Git commit 7f65f9112b6574fc6477c240bea6c138a1494dbb by Ragnar Thomsen.
Committed on 20/03/2016 at 17:55.
Pushed by rthomsen into branch 'Applications/16.04'.

Handle "no space left" messages from cliplugins

Previously, Ark didn't handle "no space left" error messages from the
cliplugins. This resulted in either the gui being "busy" continously
(clizip), or that the user didn't get any indication that there was a
problem extracting the archive (cli7z and clirar).

This commit adds a pattern (DiskFullPatterns) for catching these errors.
An errorbox is then displayed to the user. Some of the programs used in
the cliplugins, such as 7z v9.38, doesn't output a specific message,
but then a generic "Extraction failed" message is displayed instead.
Related: bug 206383
FIXED-IN: 16.04.0

Differential Revision: D455

M  +10   -1    kerfuffle/cliinterface.cpp
M  +5    -0    kerfuffle/cliinterface.h
M  +2    -1    plugins/cli7zplugin/cliplugin.cpp
M  +2    -1    plugins/clirarplugin/cliplugin.cpp
M  +2    -0    plugins/clizipplugin/cliplugin.cpp

http://commits.kde.org/ark/7f65f9112b6574fc6477c240bea6c138a1494dbb