Version: (using Devel) OS: Linux Installed from: Compiled sources I have some files with extension CBR, which should be (according to the conventions of the extension) a RAR archive. In actuality, the files in question are ZIP archives that should (again, according to convention) have the extension CBZ. If I try to open the CBR files in Okular, nothing is shown. It is as if the file is corrupted. If I change the extension to the proper one of CBZ, Okular will open and display that same file perfectly. Perhaps Okular could, as dedicated comic book reading programs do, determine the structure of the file and open it appropriately, rather than relying on the extension to know the proper archive type. I tried to open these CBR files in Okular, and by Okular's failure to open them, thought the files had been corrupted.
SVN commit 882007 by pino: Hack around the fact that CBR or CBZ documents can ahve the wrong extension. (And I wonder, if the only way to recognize them is via extension, wtf?) BUG: 174701 M +8 -2 document.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=882007
SVN commit 882010 by pino: Backport: hack around the fact that CBR or CBZ documents can ahve the wrong extension. CCBUG: 174701 M +5 -2 document.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=882010