mate-desktop / atril

A document viewer for MATE
http://www.mate-desktop.org
GNU General Public License v2.0
197 stars 62 forks source link

Fix .cbr mimetype #614

Open janek37 opened 2 weeks ago

janek37 commented 2 weeks ago

Fix #613

See also https://bugs.launchpad.net/ubuntu/+source/atril/+bug/1873998

janek37 commented 1 week ago

While I really don't know much about mimetype naming, this builds without issue. A test .cbr file opened fine both with and without this, so not sure what the best test of this is.

I'm sorry, I should have added more context. The main issue from my perspective is that thumbnails aren't being generated for .cbr files unless I manually edit /usr/share/thumbnailers/atril.thumbnailer. The correct mimetype for these files can already be found in backend/comics/comicsdocument.atril-backend.desktop.in. Here's the official doc: https://www.iana.org/assignments/media-types/application/vnd.comicbook-rar

lukefromdc commented 1 week ago

In my case I don't get a thumbnail with or without the applied, but I am not working with anything near a default install so that may be impossible to diagnose