Package: zathura
Version: 0.4.4-1
Severity: normal

Dear Maintainer,

when more than one page fit the zathura window (i.e. you have plenty
of vertical space, or the document pages are much more wide than they
are high) the page count is not correctly updated, and pageUP/pageDOWN
navigation breaks.
This can be particularly noticeable (and annoying) when using a
monitor in portrait mode, among the other things.

To reproduce, open a document and resize the window like a slim
vertical pane, like 5 to 10 times more high than wide, enough to
accomodate at least two pages in best-fit or width mode (they should
behave the same in this use case).

For example with two full pages and 1/4 of the third one filling the
window, starting from page 1, this is what happens:

[step]  [KEY]   [page count]

0       -           1       // displayed: 1, 2, a bit of 3
1       PgDn        2       // displayed: ~half 1, 2, ~half 3
2       PgUp        2       // displayed: 1, 2, a bit of 3
3       PgDn        3       // displayed: ~half 2, 3, ~half 4

So, in step 2 we are in practice back to what was displayed at the
beginning (0), but now with a wrong page count of 2 instead of 1. So
on the following PgDn there is actually a jump from page 1 to page 3,
while we should visualize the same pages as in step 1.

In other words the sequence page down/up/down doesn't leave the view
unchanged as one would expect.

Thanks.



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages zathura depends on:
ii  libc6                2.29-2
ii  libcairo2            1.16.0-4
ii  libgirara-gtk3-3     0.3.3-1
ii  libglib2.0-0         2.60.6-2
ii  libgtk-3-0           3.24.11-1
ii  libmagic1            1:5.37-5
ii  libpango-1.0-0       1.42.4-7
ii  libseccomp2          2.4.1-2
ii  libsqlite3-0         3.29.0-2
ii  libsynctex2          2019.20190605.51237-3
ii  zathura-pdf-poppler  0.2.9-1

zathura recommends no packages.

Versions of packages zathura suggests:
ii  firefox-esr [www-browser]  60.8.0esr-1
ii  links [www-browser]        2.20.1-1
ii  w3m [www-browser]          0.5.3-37+b1
pn  zathura-cb                 <none>
pn  zathura-djvu               <none>
pn  zathura-ps                 <none>

-- no debconf information

Reply via email to