| Summary: | Preview image/vnd.djvu+multipage files in kbibtex | ||
|---|---|---|---|
| Product: | [Applications] KBibTeX | Reporter: | Amaro <amaro> |
| Component: | User interface | Assignee: | Thomas Fischer <fischer> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | git (master) | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/kbibtex/5c09dcc441179658df1f736956545571939033ba | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
Git commit 236dfc86f987cee9c7f136b7038c0fbbb1c917c8 by Thomas Fischer. Committed on 28/02/2018 at 20:14. Pushed by thomasfischer into branch 'kbibtex/0.8'. Adding 'image/vnd.djvu+multipage' as MIME type for DjVu As requested in KDE bug report 391198, in addition to the already used MIME type 'image/vnd.djvu' for DjVu files, a new MIME type has been added: 'image/vnd.djvu+multipage'. M +1 -1 src/program/docklets/documentpreview.cpp https://commits.kde.org/kbibtex/236dfc86f987cee9c7f136b7038c0fbbb1c917c8 Git commit 3c46ccd3fa6245caf442f8e5b61ce1a6c47a49de by Thomas Fischer. Committed on 28/02/2018 at 19:05. Pushed by thomasfischer into branch 'kbibtex/0.7'. Adding 'image/vnd.djvu+multipage' as MIME type for DjVu As requested in KDE bug report 391198, in addition to the already used MIME type 'image/vnd.djvu' for DjVu files, a new MIME type has been added: 'image/vnd.djvu+multipage'. M +1 -1 src/program/docklets/documentpreview.cpp https://commits.kde.org/kbibtex/3c46ccd3fa6245caf442f8e5b61ce1a6c47a49de Git commit 5c09dcc441179658df1f736956545571939033ba by Thomas Fischer. Committed on 28/02/2018 at 19:40. Pushed by thomasfischer into branch 'master'. Adding 'image/vnd.djvu+multipage' as MIME type for DjVu As requested in KDE bug report 391198, in addition to the already used MIME type 'image/vnd.djvu' for DjVu files, a new MIME type has been added: 'image/vnd.djvu+multipage'. M +1 -1 src/program/docklets/documentpreview.cpp https://commits.kde.org/kbibtex/5c09dcc441179658df1f736956545571939033ba |
Recent fedora updates now classify .djvu files as image/vnd.djvu+multipage instead of image/vnd.djvu, and kbibtex no longer knows how to preview djvu files. I added the term << QStringLiteral("image/vnd.djvu+multipage") to the QStringList okularMimetypes in line 476 of kbibtex/src/program/docklets/documentpreview.cpp, recompiled kbibtex and it seems to work for now, maybe some other adjustments may be necessary?