Review Request 110516: Patch for "Bug 208384 - Extracting selected files will always create the whole directory structure" working with zip files

Francesc Ortiz francescortiz at gmail.com
Sun Jun 9 15:16:56 UTC 2013



> On June 8, 2013, 10:11 a.m., Alim Gokkaya wrote:
> > I have tested this solution. It works, but it seems that ark stops asking before overwriting files if a file with same name exists.

I've been trying to implement a KIO slave for the move operation, but I don't seem to be able to find documentation on how to make it work. It always creates a blank job and job->start or SIGNAL(result) seem to have no effect. Do you know where I can find some guidance or an example?

Thank you.


- Francesc


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/110516/#review33935
-----------------------------------------------------------


On May 19, 2013, 7:11 a.m., Francesc Ortiz wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/110516/
> -----------------------------------------------------------
> 
> (Updated May 19, 2013, 7:11 a.m.)
> 
> 
> Review request for KDE Utils.
> 
> 
> Description
> -------
> 
> 1 - If a cliplugin does not support "rootNode" (it didn't provide "$RootNodeSwitch" extra argument) and one is provided, a random temporary directory is created under the destination directory as long as a root node is provided.
> 2 - The selected files get extracted under this temporary directory.
> 3 - Then the extracted files are moved from the temporary directory to the destinarion directory, honoring "rootNode".
> 4 - Finally, the temporary directory gets removed.
> 
> PS: Extracting using the extract button still creates the whole directory structure, I assume that it is is intentional in the existing code.
> 
> 
> This addresses bug 208384.
>     http://bugs.kde.org/show_bug.cgi?id=208384
> 
> 
> Diffs
> -----
> 
>   kerfuffle/cliinterface.cpp 3cbe31b 
> 
> Diff: http://git.reviewboard.kde.org/r/110516/diff/
> 
> 
> Testing
> -------
> 
> Since All the code I wrote belongs to "CliInterface::copyFiles" I only tested extractions.
> 
> The tests where run with zip, rar and 7z files:
> - Drag a file from ark into a dolphin window.
> - Drag a directory containing files from ark into a dolphin window.
> - All 3 contextual menu options for ark.
> - Extraction with the extract button both preserving paths and flattening the directory structure, and also enabling and disabling the extract to subfolder option.
> 
> 
> Thanks,
> 
> Francesc Ortiz
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20130609/4ed141e6/attachment.html>


More information about the Kde-utils-devel mailing list