Screen freezes after a few view adjustments
Setting the auto adjustment mode to width (default keybinding 's') sometimes freezes the view. When frozen, subsequent view adjustments and zoom adjustments don't work, but the pages can still be scrolled, also the status bar doesn't update. To get out of this frozen state, the screen needs to be resized or the workspace switched back and forth. From my testing, this issue only happens when setting the adjustment mode to width, never to best-fit. Also, it only happens when the page mode is set to a single page per row.
This issue happened for the following version, both from the ArchLinux package as well as compiling from source:
zathura 0.4.3
girara 0.3.2 (runtime: 0.3.2)
(plugin) pdf-poppler (0.2.9) (/usr/lib/zathura/libpdf-poppler.so)
I'm willing to fix it myself if I could get some pointers on what's causing it. The problem seems to be in the adjust_view
function, but I haven't been successful in finding the problem.