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

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

Details

Summary

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().

ADDITIONAL INFORMATION

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

Repository
R167 Krusader
Lint
Automatic diff as part of commit; lint not applicable.
Unit
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.