Menu

#92 Opening files directly from the archive does not work anymore after extracting files

v1.0 (example)
open
nobody
None
5
2015-12-06
2015-12-06
b2f9h203
No

My archive is a .tar.gz which contains among others a folder "Panel Backgrounds" containing the files "Violet.png" "Lavender.png" "Sky.png", ...

After opening the file and double clicking on "Violet.png" it will be opened in XnViewMP. The file will be extracted to e.g. "/tmp/xa-MfsM8j/Violet.png" the folder "/tmp/xa-MfsM8j/PanelBackgrounds/" also exists, but is empty!

After clicking on "Lavender.png" the file "/tmp/xa-MfsM8j/Lavender.png" will exist and correctly opened.

Now I go 1 level up, right-click on "Panel Backgrounds" -> extract -> "/tmp/newFolder/" (target doesn't seem to matter, also used home-directory before). Now the Folder "/tmp/newFolder/Panel Backgrounds/" exists containing all the images like "Violet.png" "Lavender.png" "Sky.png", ...

Now I go into the folder again and open "Sky.png" by double clicking. Now an error will occur: "Failed to open "/tmp/xa-MfsM8j/Sky.png"."
When looking into "/tmp/xa-MfsM8j/" now, I see that "Sky.png" was extracted now correctly in my opinion(!) into "/tmp/xa-MfsM8j/Panel Backgrounds/Sky.png" unlike the prior behavior (before extracting files) when it would have been extracted to "tmp/xa-MfsM8j/Syk.png". But xarchiver now exec's the old behavior path "/tmp/xa-MfsM8j/Sky.png" instead of Sky.png in the subfolder "Panel Backgrounds". This leads to the error message of not being able to open that file.

I'm using xarchiver 0.5.4 with the patches indicated in https://sourceforge.net/p/xarchiver/bugs/88/#9e1e

Discussion


Log in to post a comment.