GithubHelp home page GithubHelp logo

Large document is not drawn correctly about zathura HOT 5 OPEN

pwmt avatar pwmt commented on August 11, 2024
Large document is not drawn correctly

from zathura.

Comments (5)

sebastinas avatar sebastinas commented on August 11, 2024

Which PDF plugin are you using? The file gets rendered quite slowly on my end (with the poppler plugin), but the pages are displayed.

from zathura.

sebastinas avatar sebastinas commented on August 11, 2024

On GitLab by @anatol on Nov 28, 2018, 24:47


I have up-to-date Arch Linux with following zathura packages installed:

$ pacman -Qe | grep zathura
zathura 0.4.1-1
zathura-pdf-mupdf 0.3.4-1

I still the the issue with the document above. I can repro it by opening the document, make the window full-screen and then pressing 's'. I see a black screen no matter what page I go. I have a 1920*1080 monitor if it matters.

I installed poppler plugin and the issue still exists.

$ pacman -Qe | grep zathura
zathura 0.4.1-1
zathura-pdf-poppler 0.2.9-1

from zathura.

sebastinas avatar sebastinas commented on August 11, 2024

On GitLab by @maximinh on Feb 25, 2019, 13:17


Having the same problem here as well. I found out that if I zoom out the page will render again. If I zoom enough in it will aslo render. Looks like render_job() hangs in some sizes.

Arch linux on kernel 4.20
Zathura 0.4.3-1 with zathura pdf-mupdf 0.3.4-1. Same error with poppler .
Only happening on large files with 1000++ pages

It stops like this in debug mode

debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4006 to 1716 x 2221 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4007 to 1716 x 2221 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4008 to 1716 x 2221 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4009 to 1716 x 2221 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4010 to 1716 x 2221 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4011 to 1716 x 2221 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4012 to 1716 x 2221 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4013 to 1716 x 2221 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4014 to 1716 x 2221 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4015 to 1716 x 2221 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4016 to 1716 x 2221 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4017 to 1716 x 2221 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4018 to 1716 x 2221 (612.00 x 792.00).

When zooming out (paged get rendered) the output look like this:

debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4006 to 1560 x 2019 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4007 to 1560 x 2019 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4008 to 1560 x 2019 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4009 to 1560 x 2019 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4010 to 1560 x 2019 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4011 to 1560 x 2019 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4012 to 1560 x 2019 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4013 to 1560 x 2019 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4014 to 1560 x 2019 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4015 to 1560 x 2019 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4016 to 1560 x 2019 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4017 to 1560 x 2019 (612.00 x 792.00).
debug: ../zathura/render.c:870: render_all(): Queuing resize for page 4018 to 1560 x 2019 (612.00 x 792.00).
debug: ../zathura/render.c:844: render_job(): Rendering page 20 ...
debug: ../zathura/render.c:844: render_job(): Rendering page 19 ...
debug: ../zathura/render.c:520: emit_completed_signal(): Emitting signal for page 20
debug: ../zathura/render.c:520: emit_completed_signal(): Emitting signal for page 19

from zathura.

sebastinas avatar sebastinas commented on August 11, 2024

On GitLab by @svenschwermer on Jun 25, 2020, 22:41


I would like to investigate this. I have noticed that zathura_page_widget_draw doesn't get called for pages that don't get drawn, i.e. the described error behavior. If I understood the code correctly, this function is responsible for queuing the rendering job which never happens. The mentioned function seems to be the draw method of the GTK widget. However, since I'm not familiar with GTK, I was wondering what usually makes GTK call that method? If anybody more familiar with the framework could give me a few hints, I could track this down further.

from zathura.

sebastinas avatar sebastinas commented on August 11, 2024

On GitLab by @AndiPersti on Apr 29, 2023, 18:13


See also #321.

from zathura.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.