Bug 325801

Summary: Showing contents of rar archives is broken with unrar 5.00
Product: [Applications] krusader Reporter: Lukas Jirkovsky <l.jirkovsky>
Component: krarcAssignee: Krusader Bugs Distribution List <krusader-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: adaptee, alex3255, arthur, krusader-bugs-null, simon.persson
Priority: NOR Keywords: reproducible
Version: 2.4.0-beta3 "Single Step"   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Pathc KrArc with support for new unrar 5.00
New patch to add support for RAR version 5

Description Lukas Jirkovsky 2013-10-09 07:25:02 UTC
After the update to unrar 5.00 browsing the archives in krusader is broken. This is likely due to some change in behavior of unrar.

Reproducible: Always

Steps to Reproduce:
1. install unrar 5.00
2. open any rar archive
Actual Results:  
The content shows the following file name:
664317952 456017850  68%                            1

Expected Results:  
The actual content of the archive is:
skyos/releases/retail.iso

This is likely the same problem as okular bug #325677
Comment 1 Croman13n3c 2013-10-27 17:01:19 UTC
Created attachment 83159 [details]
Pathc KrArc with support for new unrar 5.00

Workaround patch for unrar 5.00
Comment 2 Alexander 2015-07-07 19:14:57 UTC
Created attachment 93517 [details]
New patch to add support for RAR version 5

I've updated the patch. Now it works with rar util too, not only with unrar. The code was reorganized a little.

Please test it, because all modern Linux distros have version 5 of rar.
Comment 3 Simon Persson 2015-07-12 01:03:15 UTC
This was fixed in commit db155e7a2b07ff437bdf145104bc04887c1de412 which will be part of upcoming release of Qt5 ported krusader.
Current git version of krusader dropped support for earlier versions of rar/unrar. The patch attached to this bug maintains that support, and so it still has value! But I will close this report as fixed, need to keep things a bit organized. If anybody needs the support for older versions that can of course be opened a new report for... :P
And of course, nice work Alexander! Even if I saw your work too late (in fact I also wrote a patch to fix this but it also was too late, Davide had done the same changes and commited before me!)
If you want to add back support for earlier versions of rar, please do that! In that case, please open a review request on reviewrequest.kde.org with "krusader" as the reviewer group. Thanks!!
Comment 4 Alexander 2015-07-12 19:29:49 UTC
Thank you for a good news. Its nice to hear that Krusader is still being actively mantained.