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 696198 - TOC and certain pages not rendered in a DjVu file
TOC and certain pages not rendered in a DjVu file
Status: RESOLVED DUPLICATE of bug 619410
Product: evince
Classification: Core
Component: backends
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-03-20 14:05 UTC by Aditya Nag
Modified: 2013-04-04 20:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Aditya Nag 2013-03-20 14:05:43 UTC
Document Link: http://adf.ly/HNGRj

When I open this file in WinDjVu, I am able to access the TOC links and all pages are rendered correctly. However, when I try to access the same file in linux using evince:

1. Some problem in rendering page 2 and 9. They show up as black pages
2. The Index is blank, wherein I expected to see the TOC listings.
Comment 1 Germán Poo-Caamaño 2013-03-20 17:09:14 UTC
What should be shown in page 2 and 9?

I can not view anything neither with djview4 nor evince (master).  If I convert the djvu file to PDF, I get the following errors (in the console):

Corrupt JPEG data: 262144 extraneous bytes before marker 0xd9
Comment 2 José Aliste 2013-03-20 17:19:48 UTC
Germán, the problem in 1) is already fixed in master :) In djvu, pages are images, and when a page is blank, you just skip the image. In evince 3.6, there was an bug in the rendering and when there was no image, we would render a complete black page. Now, in master it works as expected. 

the problem in 2) it is mostly solved, but there are still some fixes that didn't land for 3.8. I will upload the patches to the corresponding bugs once we are over the freeze.
Comment 3 Germán Poo-Caamaño 2013-03-20 17:40:27 UTC
(In reply to comment #2)
> Germán, the problem in 1) is already fixed in master :) In djvu, pages are
> images, and when a page is blank, you just skip the image. In evince 3.6, there
> was an bug in the rendering and when there was no image, we would render a
> complete black page. Now, in master it works as expected.

Do I need a newer library for that? I run master by default and with that I could reproduce the issue.  FWIW, I do not get a black page, just a white empty page.

Although, the only time I open djvu files are when I check Evince's bugzilla.  So, I am djvu-ignorant.
Comment 4 Aditya Nag 2013-03-21 01:19:12 UTC
(In reply to comment #3)
> FWIW, I do not get a black page, just a white empty page.

I got a blank white page while viewing page 2 and 9 in WinDjView (not WinDjVu as I mentioned in the report, sorry), but the same were rendered as black pages in evince 3.6. However, José cleared up that issue.
Comment 5 José Aliste 2013-04-04 20:45:43 UTC
I am pretty sure that this is a duplicate.

*** This bug has been marked as a duplicate of bug 619410 ***