* Sebastian Ramacher <[email protected]> [130829 18:13]:
> Could you please attach the output of running zathura with -l debug
> and reproduce the issue? There is a lot of new code in the 0.2.4
> that manages the page cache, so this might be a bug introduced with
> the new code.

In case this is relevant, note that I use a tiling window manager.
Zathura is running in full screen, but not always visible.

When trying to reproduce it, I noticed that the problem seems to
manifest itself when the top of the page is aligned with the top of
the viewport (eg when you just changed a page).

Here I'm starting zathura. It starts to display on page 111, with the
top of page 112 visible.

    debug: (zathura_plugin_manager_load:185) successfully loaded plugin 
/usr/lib/zathura/ps.so
    debug: (zathura_plugin_manager_load:197) plugin '/usr/lib/zathura/ps.so': 
version 0.2.2
    debug: (zathura_plugin_manager_load:185) successfully loaded plugin 
/usr/lib/zathura/pdf.so
    debug: (zathura_plugin_manager_load:197) plugin '/usr/lib/zathura/pdf.so': 
version 0.2.3
    debug: (zathura_init:249) Using plain database backend.
    debug: (guess_type:563) magic detected filetype: application/pdf
    debug: (zathura_jumplist_load:1357) Loaded the jumplist from the database
    debug: (render_job:36) rendering page 78 ...
    debug: (zathura_page_cache_is_cached:1397) Page 78 is a cache miss
    debug: (zathura_page_cache_add:1491) Page 78 is cached at cache index 0
    debug: (zathura_page_cache_is_cached:1397) Page 79 is a cache miss
    debug: (zathura_page_cache_add:1491) Page 79 is cached at cache index 1
    debug: (zathura_page_cache_is_cached:1397) Page 111 is a cache miss
    debug: (zathura_page_cache_add:1491) Page 111 is cached at cache index 2
    debug: (zathura_page_cache_is_cached:1397) Page 112 is a cache miss
    debug: (zathura_page_cache_add:1491) Page 112 is cached at cache index 3
    debug: (zathura_page_cache_is_cached:1391) Page 78 is a cache hit
    debug: (render_job:36) rendering page 111 ...
    debug: (render_job:36) rendering page 112 ...
    debug: (render_job:36) rendering page 79 ...
    debug: (zathura_page_cache_is_cached:1391) Page 79 is a cache hit

Now I unfocus, modify the latex source, run make, and refocus zathura. This
means that the PDF is modified when zathura is visible.

    debug: (guess_type:563) magic detected filetype: application/pdf
    debug: (zathura_jumplist_load:1357) Loaded the jumplist from the database
    debug: (render_job:36) rendering page 111 ...
    debug: (zathura_page_cache_is_cached:1397) Page 111 is a cache miss
    debug: (render_job:36) rendering page 112 ...
    debug: (zathura_page_cache_is_cached:1397) Page 112 is a cache miss

Here pages 111 and 112 are stuck on "loading". I hit K and J:

debug: (render_job:36) rendering page 111 ...
debug: (zathura_page_cache_is_cached:1397) Page 111 is a cache miss
debug: (render_job:36) rendering page 112 ...
debug: (zathura_page_cache_is_cached:1397) Page 112 is a cache miss
debug: (render_job:36) rendering page 110 ...
debug: (zathura_page_cache_is_cached:1397) Page 110 is a cache miss
debug: (zathura_page_cache_add:1491) Page 110 is cached at cache index 0
debug: (zathura_page_cache_is_cached:1397) Page 111 is a cache miss
debug: (zathura_page_cache_add:1491) Page 111 is cached at cache index 1
debug: (render_job:36) rendering page 111 ...
debug: (zathura_page_cache_is_cached:1391) Page 110 is a cache hit
debug: (zathura_page_cache_is_cached:1397) Page 112 is a cache miss
debug: (zathura_page_cache_add:1491) Page 112 is cached at cache index 2
debug: (render_job:36) rendering page 112 ...

And now it displays the pages.

-- 
Etienne Millon


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to