Bug 368530

Summary: [clizip] Unable to open the file after rename it
Product: [Applications] ark Reporter: André Marcelo Alvarenga <alvarenga>
Component: pluginsAssignee: Ragnar Thomsen <rthomsen6>
Status: RESOLVED FIXED    
Severity: normal CC: elvis.angelaccio, rakuco, rthomsen6
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 16.12.0
Sentry Crash Report:
Attachments: my arkrc file

Description André Marcelo Alvarenga 2016-09-10 01:24:42 UTC
See screencast: 

https://youtu.be/HzJUxx-dQQA

Reproducible: Always




Using Neon Developer Edition
Comment 1 Elvis Angelaccio 2016-09-11 09:30:56 UTC
Thanks for the report and the useful screencast.
This seems to work for me. Ubuntu (and thus Neon) ships a very old version of p7zip (the default zip backend).

Can you try again after adding the following two lines to ~/.config/arkrc ?

[EnabledPlugins]
kerfuffle_cli7z=false
Comment 2 André Marcelo Alvarenga 2016-09-11 17:38:57 UTC
(In reply to Elvis Angelaccio from comment #1)
> Thanks for the report and the useful screencast.
> This seems to work for me. Ubuntu (and thus Neon) ships a very old version
> of p7zip (the default zip backend).

7z version 9.20

> 
> Can you try again after adding the following two lines to ~/.config/arkrc ?
> 
> [EnabledPlugins]
> kerfuffle_cli7z=false

Ok, I tried with this parameters.
If I rename "New Text.txt" file to "newfile.txt", Ark shows "n" and don't open the file anymore.
I've tried with a new arkrc file and don't work too.

I've recorded a new screencast: https://youtu.be/5yLb7ERmdvE
Comment 3 André Marcelo Alvarenga 2016-09-11 17:42:59 UTC
Created attachment 101037 [details]
my arkrc file
Comment 4 Elvis Angelaccio 2016-11-19 15:18:07 UTC
Ok, I can reproduce it with clizip as backend...
Comment 5 Elvis Angelaccio 2016-11-19 16:36:33 UTC
Git commit aacfc786ddb0098dc6fdda4a89e6f9133a542507 by Elvis Angelaccio.
Committed on 19/11/2016 at 16:32.
Pushed by elvisangelaccio into branch 'Applications/16.12'.

clizip: fix renaming files in the root

Renaming files in the root folder was broken with clizip. Test case was
also missing.
FIXED-IN: 16.12.0

M  +7    -0    autotests/kerfuffle/movetest.cpp
M  +4    -3    plugins/clizipplugin/cliplugin.cpp

http://commits.kde.org/ark/aacfc786ddb0098dc6fdda4a89e6f9133a542507