linuxmint / xreader

A generic Document Reader
GNU General Public License v2.0
211 stars 59 forks source link

Ability to pan with hand tool on zoomed in PDFs #606

Open cdplayer opened 12 months ago

cdplayer commented 12 months ago
 * Xreader version (xreader --version)
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...)

Issue Poor ability to pan or 'hand' move around a PDF document when zoomed in. Seems like you have to move to the scroll bars as the only means of minor shifting of your viewpoint of the document. My usage is primarily looking at zoom in areas of mechanical datasheets of component on circuit boards.

Steps to reproduce

Expected behaviour Right click to get a 'hand' cursor to pan the document around the viewport.

Other information Did a search for 'pan', 'hand', 'scroll' and found nothing. Perhaps feature is there but not documented. I did try common modifier keys with clicking and nothing happened 'as expected'

rhenescu commented 11 months ago

@cdplayer, assuming you use a recent version of Xreader, there are several ways to move around the page (see Help > Contents > Usage > To Scroll a Page):

  1. Middle click+drag
  2. Scroll wheel / Shift+Scroll wheel
  3. Arrow keys / Ctrl+Arrow keys
  4. Home / End / Ctrl+Home / Ctrl+End
  5. Page Up / Page Down / Ctrl+Page Up / Ctrl+Page Down
  6. Dragging the scrollbars
cdplayer commented 11 months ago
  1. Middle click+drag
  2. ~~Scroll wheel / Shift+Scroll wheel
  3. ~~Arrow keys / Ctrl+Arrow keys
  4. ~~Home / End / Ctrl+Home / Ctrl+End
  5. ~~Page Up / Page Down / Ctrl+Page Up / Ctrl+Page Down
  6. ~~Dragging the scrollbars

2-6 really don't do what I asked at all. Middle click seems wrong. App needs a 'mode' to enter when the mouse cursor is a hand tool to pan the document. Std middle click does not seem intuitive or in line with other good PDF viewers. I'll investigate further on this to confirm. My version is 3.6.3. Sorry not had time to verify how old this is yet.