Package: zathura
Version: 0.4.4-1
Severity: normal

With girara 0.3.3 enabling smooth-scroll reporting by default, mouse wheel
zooming in zathura became inconsistent for me (in comparison to
keyboard zooming).

The first issue is the zooming direction being inverted, the other is
the zoom level jumping to minimum when going below 1.0.

On my system, event.y is either -1 or +1.

Please see the following table for resulting zoom values (calculated
manually given zoom-step==10).

old_zoom  ZOOM_IN  ZOOM_OUT  SMOOTH -1  SMOOTH +1
0,1       0,11     0,09      -1         1,2
0,2       0,22     0,18      -0,9       1,3
0,3       0,33     0,27      -0,8       1,4
0,4       0,44     0,36      -0,7       1,5
0,5       0,55     0,45      -0,6       1,6
0,6       0,66     0,55      -0,5       1,7
0,7       0,77     0,64      -0,4       1,8
0,8       0,88     0,73      -0,3       1,9
0,9       0,99     0,82      -0,2       2
1         1,1      0,91      -0,1       2,1
1,1       1,21     1         0          2,2
1,2       1,32     1,09      0,1        2,3
1,3       1,43     1,18      0,2        2,4
1,4       1,54     1,27      0,3        2,5
1,5       1,65     1,36      0,4        2,6
1,6       1,76     1,45      0,5        2,7
1,7       1,87     1,55      0,6        2,8
1,8       1,98     1,64      0,7        2,9
1,9       2,09     1,73      0,8        3
2         2,2      1,82      0,9        3,1
2,1       2,31     1,91      1          3,2
2,2       2,42     2         1,1        3,3
2,3       2,53     2,09      1,2        3,4
2,4       2,64     2,18      1,3        3,5
2,5       2,75     2,27      1,4        3,6
2,6       2,86     2,36      1,5        3,7
2,7       2,97     2,45      1,6        3,8
2,8       3,08     2,55      1,7        3,9
2,9       3,19     2,64      1,8        4
3         3,3      2,73      1,9        4,1

Downgrading to libgirara-gtk3-3=0.3.3-1 and zathura=0.4.3-1 (from
buster) hides the problem, but even those versions can show it when
setting smooth-scroll to true in zathurarc.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'stable-debug'), 
(500, 'unstable'), (500, 'stable'), (1, 'experimental-debug'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-2-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages zathura depends on:
ii  libc6                2.29-1
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-2
ii  zathura-pdf-poppler  0.2.9-1

zathura recommends no packages.

Versions of packages zathura suggests:
ii  dillo [www-browser]    3.0.5-5+b1
ii  firefox [www-browser]  69.0-1
ii  links [www-browser]    2.20.1-1
ii  lynx [www-browser]     2.9.0dev.4-1
ii  w3m [www-browser]      0.5.3-37+b1
ii  zathura-cb             0.1.8-2
ii  zathura-djvu           0.2.8-1
ii  zathura-ps             0.2.6-1

-- no debconf information

Attachment: pgpRhAKhc44G2.pgp
Description: OpenPGP digital signature

Reply via email to