Ark always displays a '?' instead of 'ä', 'ö', 'ü' in a zip (I think, because Zip (3.0) also displays '?'). This is a big problem, because if there are two files which only differ in their "Umlaut" (e.g. ä.txt and ö.txt), ark will only display one file of the (?.txt). And the preview of ?.txt contains no text and the editor says 'new file' ?.txt. Extracting the single file ?.txt does nothing. Fortunately after extracting the complete archive (only when checking the radio button "Extract" > "All files" in extracting menu, not selecting the zips root dir and clicking on extract) the spook stops and the files have their right names and all files (ä.txt and ö.txt) have the correct content. Reproducible: Always Steps to Reproduce: 1. mkdir test 2. echo "ä" > test/ä.txt 3. echo "ö" > test/ö.txt 4. zip -r test.zip test 5. ark test.zip May be related to 324978 and 335716 and maybe 355757 but I will continue searching what the latter one caused...
Created attachment 95680 [details] A zip containing 2 files with "Umlaute" You will see only one file "?.txt" in ark, but there are two file "ä.txt" and "ö.txt"
#355757 is not related...
Hi. We already fixed this issue in Ark 15.12 (due next month) by switching to p7zip as the default plugin for zip archives. As a temporary workaround for your system, you can: 1. Make sure you have p7zip installed 2. Locate the file kerfuffle_cli7z.desktop in your filesystem. I don't know exactly where Fedora installs this file, should be somewhere under /usr/share/kde4 3. Edit this file and replace the line starting with MimeType with this other line: MimeType=application/x-7z-compressed;application/zip; 4. In this file, edit also the X-KDE-Priority line and replace the value 160 with 180. Let me know whether you managed to apply this workaround or if you are just fine waiting for an updated Ark version.
Cool, even if I thought I found a huge bug ;) "kerfuffle_cli7z.desktop" is here in fedora (23): /usr/share/kde4/services/kerfuffle_cli7z.desktop But there is no line "X-KDE-Priority=160", it is "X-KDE-Priority=120". And when I add "application/zip;" to the MimeType, ark will display an empty archieve, when I open the test...
(In reply to sederic from comment #4) > But there is no line "X-KDE-Priority=160", it is "X-KDE-Priority=120". > That's ok. You just have to be sure that this priority value is higer than the one you find in kerfuffle_clizip.desktop (which is another file that should be in the very same directory). > And when I add "application/zip;" to the MimeType, ark will display an empty > archieve, when I open the test... That's weird. Are you sure that the syntax is right? It has to be exactly: MimeType=application/x-7z-compressed;application/zip; (note the two semicolons). If it still doesn't work, please post the whole content of kerfuffle_cli7z.desktop and kerfuffle_clizip.dekstop
Created attachment 95706 [details] content of kerfuffle_cli7z.desktop
Created attachment 95707 [details] content of kerfuffle_clizip.desktop
I don't get it: sometimes I see an empty archive and sometimes I see a broken archive as described in the issue description...
(In reply to sederic from comment #8) > I don't get it: sometimes I see an empty archive and sometimes I see a > broken archive as described in the issue description... The attached .desktop files look fine. Have you tried opening other zip archives? It would also help to see the Ark debug output, if possible. You should be able to enable it with KDebugDialog, and then you should run Ark from command line.
Ok, now I can't open any zip file (tar is working...). I can see ark(25478) CliPlugin::readListLine: Unsupported archive type in the command line... It works after changing the priority back to 120.
(In reply to sederic from comment #10) > Ok, now I can't open any zip file (tar is working...). I can see > > ark(25478) CliPlugin::readListLine: Unsupported archive type > > in the command line... > > It works after changing the priority back to 120. Ok, it's was worth a try. It looks like old Ark versions don't like p7zip for zip archives (we tested this only on the latest Ark). I'm sorry but for now there is no easy workaround for this issue. Upgrading to the next Ark 15.12 is strongly recommened for anyone working often with archives with special characters in the entries' filename. P.S. I'd suggest you to reinstall Ark, in order to overwrite any edit you did to the kerfuffle_* files. Just to be sure.
OK, thank you for your analysing. It's no problem for me to wait, since I know the problem now. Looking forward the fixes ;)
*** This bug has been marked as a duplicate of bug 240727 ***