karlch/vimiv-qt

[feature request] add missing mime types to the desktop entry file

Closed this issue · 4 comments

In the vimiv.desktop, there are only a few image formats:

MimeType=image/bmp;image/gif;image/jpeg;image/jp2;image/jpeg2000;image/jpx;image/png;image/svg;image/tiff;

Some supported formats, e.g., image/webp, are missing from the list. As a result, vimiv won't be shown in the right-click menu or the recommended "open-with" list in GUI file managers. Adding those to the desktop entry file will be great.

Thanks a lot for opening this issue, makes perfect sense 😊

Would you like to add the missing (supported) formats yourself in a quick PR? Otherwise I'll try get it done over the week-end.

Sorry, I don't know what exact image formats vimiv supports :(

All supported types are actually really well listed up here. The only question is whether to include only the natively supported ones, or also the ones that require qtimageformats.

Thanks, @jcjgraf. I am preparing a PR and will commit soon.

As for the optionally supported formats, I will include them in the PR. If that's an issue, I think it can be mitigated by showing a in-program warning to install optional dependencies.