https://bugs.kde.org/show_bug.cgi?id=343645

--- Comment #2 from Nicolas Frattaroli <kdeb...@fratti.ch> ---
The simplest solution would check if there are only image files and optionally
subfolders with image files in the archive while ignoring Thumbs.db and
.DS_STORE. This would not read ACBF cbr files ending in .rar or .zip as they
contain a "acbf" file with XML metadata, but that could either be added to the
list of files that are being ignored in determining whether it's a comic book,
or even better, can be used to explicitly determine that it must be a comic
book.

As to whether we should do this, I can only say that I do not see any downsides
to being able to read the file as long as the application doesn't by accident
read something that it cannot handle properly. However, if it's a case of image
files + optionally some system files of other OSes, then Okular can display it
just fine and it may as well be a CBR apart from the file extension. This isn't
even a case of "quacks like a duck, swims like a duck, might as well be a
duck", more one of "it is a duck that doesn't know it's a duck and sits in a
cage labelled 'bird'".

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel

Reply via email to