[Okular-devel] [okular] [Bug 343645] New: Treat archive files (.zip, .rar, ...) full of images in the same way as CBR and CBZ files
Nicolas Frattaroli
kdebugs at fratti.ch
Sun Feb 1 07:22:37 UTC 2015
https://bugs.kde.org/show_bug.cgi?id=343645
Bug ID: 343645
Summary: Treat archive files (.zip, .rar, ...) full of images
in the same way as CBR and CBZ files
Product: okular
Version: 0.21.1
Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
Severity: minor
Priority: NOR
Component: Comicbook backend
Assignee: okular-devel at kde.org
Reporter: kdebugs at fratti.ch
Okular fails to open archives full of image files as comic book files when
explicitly told to do so; however, renaming the files to end in either .cbr or
.cbz will make Okular open them without an issue.
Ideally, Okular will ignore any non-image files in the archives, such as
erroneously included "Thumbs.db" files.
Reproducible: Always
Steps to Reproduce:
1. mkdir okulartest && cd okulartest && for i in {0..9}; do convert -size
2480x3508 xc:white -gravity Center -weight 700 -pointsize 600 -annotate 0 "$i"
$i.png; done; cd .. && zip -r okulartest.zip okulartest/
2. okular okulartest.zip
3. mv okulartest.zip okulartest.cbr
4. okular okulartest.cbr
Actual Results:
Step 2: Okular says it could not open okulartest.zip, and shows the error
message "Can not find a plugin which is able to handle the document being
passed."
The console output reads: okular(5259)/okular (app)
Okular::Document::openDocument: No plugin for mimetype '"application/zip"'.
Expected Results:
Okular tries to treat the zip file like a cbr file before complaining to the
user.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list