After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 786511 - [regression] Please allow opening single-page djvu files
[regression] Please allow opening single-page djvu files
Status: RESOLVED NOTABUG
Product: evince
Classification: Core
Component: general
3.25.x
Other Linux
: Normal major
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-08-19 12:58 UTC by Jeremy Bicha
Modified: 2017-08-24 16:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeremy Bicha 2017-08-19 12:58:34 UTC
evince 3.25.91
shared-mime-info 1.8
Ubuntu 17.10 Alpha

After upgrading evince from 3.25.4 to 3.25.91, I can no longer open these .djvu files. gnome-books and gnome-documents refuses to open them either so there is no GNOME viewer for these files (single-page .djvu documents).

http://djvu.org/docs/hand_word/

Please revert the regression introduced in
https://git.gnome.org/browse/evince/commit/?id=39bd98c5f

The assumption that single-page .djvu documents are not documents feels as flawed to me as assuming that single-page .pdf documents are not documents.
Comment 1 Bastien Nocera 2017-08-21 17:24:35 UTC
Do you have actual, "in-the-wild" documents that are single-page documents, or just test cases?

We also do the same with TIFF images, though as we don't have magic for multi-page TIFF documents, we still end up opening it if an app says it's multi-page.
Comment 2 Jeremy Bicha 2017-08-24 16:13:56 UTC
Ok, you can close this if you want.

1. That single page .djvu shows up in gnome-photos 3.25.91 for me (although without a thumbnail).

2. Wikipedia claims that the multi-page format replaced single-page in 1999 and older versions are no longer supported.

I don't know enough about djvu to argue that the single-page format is used that much.
Comment 3 Bastien Nocera 2017-08-24 16:19:46 UTC
I was in a similar position when making those changes, trying to understand what the uses would be, and I'm fine with reopening this if somebody that's not just running test cases can show me wrong :)