Ark: adding a file to a folder get it in the 'root' of the archive

Bug #818775 reported by Maarten Bezemer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KDE Utilities
Fix Released
Wishlist
kdeutils (Ubuntu)
Invalid
Wishlist
Unassigned

Bug Description

When adding a file to a folder inside an archive it places the file in the 'root' of the archive.
Steps to reproduce it:
1) Create an (tar.gz) archive with at least a folder in it.
2) Open it with ark
3) Drag another file to ark (hovering over the folder in the archive)
3a) Wrong: File gets created in 'root' of archive
4) Open/unfold the fodler in the archive and drag it to the fodler contents
4a) Wrong: File gets created in 'root' of archive

I am using Natty with KDE 4.6.5

Revision history for this message
In , Diego (panda84) wrote :

Version: 2.12 (using 4.1.96 (KDE 4.1.96 (KDE 4.2 RC1)), 4.1.96-9.fc10 Fedora)
Compiler: gcc
OS: Linux (i686) release 2.6.27.9-163.fc10.i686

When you add a file to the archive using the "Add File" button the file is always added to the top directory even if a subdirectory is selected. There should be an option to add a file in a subdirectory.

Moreover this bug is quite severe because there is no way to move a file in another directory in Ark (drag and drop doesn't work). I'm going to file a separate report for this.

Revision history for this message
In , Diego (panda84) wrote :

The related "cannot move files inside an archive" is in bug #181752

Moreover if you drag and drop a file (or directory) from outside (e.g. Dolphin) to Ark the file (or directory) is always added to the top of the archive, even if you drop it a subfolder. This is probably related to the bug #181752 shortcoming.

Revision history for this message
In , Metellius (metellius) wrote :

Being able to add items inside subfolder inside the archive is a more complicated procedure than one might think, and because of this it has not been implemented yet. This is by the add file works like this. File-roller also does it like this.
Although the code is partly prepared for it, I am still not sure when I will actually implement this, and as such I am marking this as a wish.

Revision history for this message
In , Rakuco-h (rakuco-h) wrote :

*** Bug 195756 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Rakuco-h (rakuco-h) wrote :

*** Bug 181752 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Rakuco-h (rakuco-h) wrote :

*** Bug 209754 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Rakuco-h (rakuco-h) wrote :

*** Bug 232178 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Rakuco-h (rakuco-h) wrote :

Changing the default assignee in the currently open Ark bug reports to me.

Revision history for this message
Maarten Bezemer (veger) wrote :

Oh... it was already a know wish/feature for the KDE guys...
As it seems to me that https://bugs.kde.org/show_bug.cgi?id=181749 is a similar report.

Victor Vargas (kamus)
Changed in kdeutils (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Philip Muškovac (yofel) wrote :

Closing this as we don't track low importance bugs on launchpad for KDE packages and the bug is already upstream, feel free to report any other bugs you may find!

Changed in kdeutils (Ubuntu):
status: Triaged → Invalid
Changed in kdeutils:
importance: Unknown → Wishlist
status: Unknown → Confirmed
Changed in kdeutils:
status: Confirmed → Unknown
Revision history for this message
In , Elvis-angelaccio (elvis-angelaccio) wrote :

*** Bug 362405 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Elvis-angelaccio-o (elvis-angelaccio-o) wrote :

Git commit 4d0eaefcf59f7b191bf4a1f740817a8bee3c4395 by Elvis Angelaccio.
Committed on 09/09/2016 at 13:56.
Pushed by elvisangelaccio into branch 'master'.

Merge branch 'gsoc2016/master'

This commit merges the work done by Vladyslav Batyrenko during the Google
Summer of Code 2016 program.

Cut, copy, paste and rename functionalities are now implemented.
It is also possible to add new files to a specific folder in an archive.

More information about the project here: https://community.kde.org/GSoC/2016/StatusReports/Batyrenko_Vladyslav

CCMAIL: <email address hidden>

GUI:
Related: bug 65576, bug 234375
FIXED-IN: 16.12.0

Task: T917

M +121 -41 kerfuffle/jobs.cpp

http://commits.kde.org/ark/4d0eaefcf59f7b191bf4a1f740817a8bee3c4395

Changed in kdeutils:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.