You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this case, the pdf-tools package is your fork with the image roll branch checked out.
Now try opening a pdf file with vertically small pages, such as a slideshow (installing pdf-tools if needed). Try scrolling, and observe that nothing happens.
The default command for scrolling in this view is pdf-view-next-line-or-next-page, but the bug also occurs if you try calling image-roll-scroll-forward directly.
I looked at the code but was unable to come up with a fix myself, though I'm relatively sure that the bug does not actually stem from the image-roll-scroll-forward function, but from the image-roll-update-displayed-pages function.
The text was updated successfully, but these errors were encountered:
Thanks for reporting the issue. I have tested it and can confirm the bug. However, I am not maintaining this package anymore. I have written a better alternative to image roll in doc-scroll.el, which you can find here. That repo also contains several backends for displaying PDF's (and DJVU's) with doc-scroll (more info you can find in the README...) but unfortunately I had no time to integrate it with PDF-tools (PDF-tools is quite a complex library, and it is really not designed for continuous scrolling. Getting image-roll to work with it costed me quite some time also). If you are only reading PDF's, then doc-scroll might be an okay alternative (although it is really not finished, and unfortunately I am not in a privileged position to be able to finish it soon). However, if you'd also like to make annotations, then image-roll is probably the better alternative.
B.t.w. if your pages are smaller than the buffer, I guess/hope using the default pdf-tools scrolling should not be a too bad alternative... Anyway, good luck :)
Minimal configuration to reproduce:
In this case, the
pdf-tools
package is your fork with the image roll branch checked out.Now try opening a pdf file with vertically small pages, such as a slideshow (installing pdf-tools if needed). Try scrolling, and observe that nothing happens.
The default command for scrolling in this view is
pdf-view-next-line-or-next-page
, but the bug also occurs if you try callingimage-roll-scroll-forward
directly.I looked at the code but was unable to come up with a fix myself, though I'm relatively sure that the bug does not actually stem from the
image-roll-scroll-forward
function, but from theimage-roll-update-displayed-pages
function.The text was updated successfully, but these errors were encountered: