pwmt / zathura

Document viewer
https://pwmt.org/projects/zathura
zlib License
2.13k stars 146 forks source link

Zoom breaks when using both keybinds and touchpad gestures to zoom #629

Open rmburg opened 4 months ago

rmburg commented 4 months ago

In this broken state, it is not possible to zoom at all (keybinds like +, -, a, s, or touchpad gestures all stop working), and the pages of the document are now all suddenly different sizes.

I think this might be a regression, as I only started encountering this bug recently.

How to reproduce:

System info

- OS: Arch Linux - zathura --version: ``` zathura 0.5.6 girara 0.4.4 (runtime: 0.4.4) (plugin) pdf-poppler (0.3.2) (/usr/lib/zathura/libpdf-poppler.so) ```

1sma31L commented 4 months ago

I have the same problem, it is solved when I enter Full-Screen mode

itshog commented 1 month ago

I have a similar issue, but it seems to trigger even without using a two-finger gestures. Sometimes when zooming with s or a (or even just when toggling the visibility of the status bar) the zooming completely breaks, pages get truncated and sized differently and navigation becomes impossible. Sometimes this gets fixed by entering and exiting full screen mode, as pointed out by @1sma31L, but this doesn't work in a reliable way.