zathura
zathura copied to clipboard
Screen freezes after a few view adjustments
On GitLab by @nfraprado on Jul 26, 2019, 22:24
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.
This is a well known issue (there should be a duplicate bug report about that). Unfortunately, we do not know why it's happening.
On GitLab by @sanjay_ankur on Aug 5, 2019, 21:42
Just double checked this---it only happens on Wayland, not on X. Could you check this too @nfraprado ?
On GitLab by @nfraprado on Aug 5, 2019, 23:48
Actually no... On my setup, where I ran into this issue, I'm running the i3 window manager on top of X.
On GitLab by @knuesel on Aug 7, 2019, 18:47
Related:
https://bugs.pwmt.org/project/zathura/issue/637
https://bugs.pwmt.org/project/zathura/issue/764
@sanjay_ankur , @nfraprado could you check if the fix mentioned in https://bugs.pwmt.org/project/zathura/issue/764 (in the comment) works for your case?
On GitLab by @sanjay_ankur on Aug 7, 2019, 20:20
I could reproduce this before, but weirdly enough I can no longer reproduce the issue after using the patch in !21. I'll log out and back in etc and retest.
On GitLab by @nfraprado on Aug 8, 2019, 02:16
Neither of those fixes worked for me. With them it was even necessary to occasionally update two times (instead of once without the patch) to unfreeze the screen.
On GitLab by @nfraprado on May 17, 2020, 01:47
Just to have it registered, since some comments seem to have gotten deleted, this commit solves the issue for me, even though it's supposed to only be a workaround.
At the time of this writing, that commit isn't included in the latest release. So if you're facing this issue using zathura installed from your package manager, try building it from source with the latest patches since it may also fix it for you.
I'll keep this issue open since I'm not sure if that commit fixes it for everyone, but @sebastinas feel free to close this issue since that commit fixes it for me.
On GitLab by @jackerschott on Jun 16, 2020, 21:27
closed via commit edea6a5403c1dbcb4b12bafd0891ad053132f151
reopened
mentioned in commit f04dc0062fea870da84710616ba6a297b26fb5c6
On GitLab by @jackerschott on Jul 27, 2020, 18:34
mentioned in commit edea6a5403c1dbcb4b12bafd0891ad053132f151
I am still experiencing the same issue. How do I get this workaround commit?