Summary: | Ark handles filenames with "Umlaute" wrong | ||
---|---|---|---|
Product: | [Applications] ark | Reporter: | sedrubal <kde> |
Component: | general | Assignee: | Raphael Kubo da Costa <rakuco> |
Status: | RESOLVED DUPLICATE | ||
Severity: | critical | CC: | elvis.angelaccio, kde |
Priority: | NOR | ||
Version: | 2.19 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
A zip containing 2 files with "Umlaute"
content of kerfuffle_cli7z.desktop content of kerfuffle_clizip.desktop |
Description
sedrubal
2015-11-24 01:54:52 UTC
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 *** |