Created attachment 122913 [details] Error message for .cbr files When trying to open a rar compressed comic book file (.cbr) Okular gives the following error message: The document cannot be opened because the program unrar or unarchiver was not found. Similar problem when I try to open 7zip compressed comic books (.cb7) (zip compressed comic books (.cbz) work fine) SOFTWARE/OS VERSIONS Windows: Windows 10 1903 Okular from Windows store
This was fixed for Linux with Bug 339370 but I suppose Windows will be harder.
I don't think it's really harder, what needs is someone debugging it and having some kind of Windows experience (or wanting to spend their time there)
I assume the issue is just that the programs are not installed (aka unrar or unarchiver). Does it work if you install these command line tools on Windows?
Please answer Chrtisoph's question
The command line client on windows and most other systems is called 7za. https://github.com/KDE/ark/blob/e88b46ddb92e47009227e883111c952eb8c0365d/plugins/cli7zplugin/cliplugin.cpp looks for 7z.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
New information was added with comment 5; changing status for inspection.
On Windows 10 1809 .cb7 and .cbz files are working OK, cbr on the other hand does not. I installed winrar and added it to "PATH" okular fails to find it, may be because is version 6? I also tried with unrar from here : www.rarlab.com/rar_add.htm Okular does find it but still can't open the file, may be because the switches/options are different?
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/374
Git commit e6f82a50cf1df3e9cc38c8198d0d3f82502024dc by Albert Astals Cid, on behalf of George Florea Bănuș. Committed on 09/03/2021 at 00:14. Pushed by aacid into branch 'master'. Fix unrar detection on Windows M +3 -1 generators/comicbook/unrar.cpp https://invent.kde.org/graphics/okular/commit/e6f82a50cf1df3e9cc38c8198d0d3f82502024dc