Bug 181749 - In Ark the "Add File" feature always adds the file to the top directory of the archive.
Summary: In Ark the "Add File" feature always adds the file to the top directory of th...
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 2.12
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
: 181752 195756 209754 232178 362405 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-24 14:03 UTC by Diego
Modified: 2016-09-09 13:57 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 16.12.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego 2009-01-24 14:03:46 UTC
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.
Comment 1 Diego 2009-01-24 14:24:00 UTC
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.
Comment 2 Harald Hvaal 2009-01-24 18:01:00 UTC
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.
Comment 3 Raphael Kubo da Costa 2009-06-09 16:37:09 UTC
*** Bug 195756 has been marked as a duplicate of this bug. ***
Comment 4 Raphael Kubo da Costa 2009-08-01 20:48:26 UTC
*** Bug 181752 has been marked as a duplicate of this bug. ***
Comment 5 Raphael Kubo da Costa 2009-10-07 14:25:51 UTC
*** Bug 209754 has been marked as a duplicate of this bug. ***
Comment 6 Raphael Kubo da Costa 2010-04-14 03:23:12 UTC
*** Bug 232178 has been marked as a duplicate of this bug. ***
Comment 7 Raphael Kubo da Costa 2010-12-08 02:18:46 UTC
Changing the default assignee in the currently open Ark bug reports to me.
Comment 8 Elvis Angelaccio 2016-04-28 11:34:55 UTC
*** Bug 362405 has been marked as a duplicate of this bug. ***
Comment 9 Elvis Angelaccio 2016-09-09 13:57:51 UTC
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: mvlabat@gmail.com

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