Identify the "vnd.comicbook+zip" and "vnd.comicbook-rar" MIME types in order to allow some operations

Authored by asensi on Aug 28 2019, 10:07 PM.



In order to solve Users are not able to browse cbz files using the right arrow key (although it works for cbr files), two file types are recognized in KrServices::generateKrarcArchiveMimetypes().


There's related information in:

Note: cbz files are easily made, for example you simply compress some images to a zip file, change the extension of the zip file to "cbz", and that file can be viewed using e.g. Okular.

Test Plan

Browse several compressed files (cbr, cbz, rar, zip, 7z, etc.) using:

  • the right arrow key,
  • (in the case of cbr and cbz files) the secondary button of the mouse, and later choosing "Browse".

Diff Detail

R167 Krusader
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
asensi requested review of this revision.Aug 28 2019, 10:07 PM
asensi created this revision.
abika accepted this revision as: abika.Sep 15 2019, 5:35 PM
abika added a subscriber: abika.

Didn't test myself. But if you tested it, Toni, adding the two lines should be safe.

This revision is now accepted and ready to land.Sep 15 2019, 5:35 PM

Thanks, Alex!

This revision was automatically updated to reflect the committed changes.