pwmt/zathura

Jumplist sometimes gets stuck

Closed this issue · 0 comments

Navigating jumplist sometimes gets stuck on some entry (Ctrl+i/o doesn't move to the next/previous jumplist entry).
Changing zoom level and/or scrolling can sometimes help to unblock it.

I don't know precisely what is the culprit, but it seems to happen more often on links which set zoom level (assuming link-zoom is enabled). It probably has something to do with the fact that jumping throught the jumplist always wants to jump to the "current" entry, only after that it allows to jump to next/previous entry. Maybe for some combination of window width and zoom level the jump to the "current" entry cannot be properly made, thus jumplist gets stuck trying to make the jump to the current entry?

This can be fixed by omitting jump to the "current" entry, which would even be more in sync with the way jumplist works in (Neo)vim.
Would this be acceptable, or is there some way to make restoring of the "current" jump reliable?