4

Quite hidden in Evince, the accepted answer on this AskUbuntu question clarifies that one can pan in a document (i.e. drag a zoomed document around to change the viewed area) with the right-click mouse button. Being on the road with a laptop, one may not have a mouse available. I am aware one can still pan using the scroll bars, but that makes for a difficult, awkward and counter-intuitive experience. Is there a possibility somehow to pan the viewing area with the touch pad by clicking and dragging as one currently can after clicking the middle mouse button?

This is an essential feature in some scenarios. Looking around in for example a zoomed in architectural plan or a drawing in PDF format is extremely awkward if scrollbars are to be used.

5
  • @DK Bose I am indeed aware that one can pan with the scrolbars. However. try doing that, especially in front of people watching along seeing linux in action... This was an embarrassing experience! I will add to my answer that I am aware of the scroll bars.
    – vanadium
    Commented Mar 5, 2019 at 9:47
  • 1
    @DK Bose Evince being a core gnome program for 20 years, it is extremely sad that it remains underfeatured for common use cases, like many gnome programs are. Of course, one can usually move away to solve issues.
    – vanadium
    Commented Mar 5, 2019 at 14:00
  • @DK Bose I like qpdf quite a lot, and pans out of the box. However, I now see that in presentation mode, there is regularly a short interruption because of the display of a small graphic with three dots while a page is loading. This makes for an annoying, flickery transition. It may be impossible to find a single application that perform well on all its core functions.
    – vanadium
    Commented Mar 5, 2019 at 14:40
  • Are you referring to a small image that flashes above and to the left of the pdf page with each new page? That's what I see with qpdf in presentation mode. Okular, on the other hand, is smooth. I tried "The Linux Command Line" Internet Edition by William Shotts which is a 2.2 MiB pdf file.
    – DK Bose
    Commented Mar 5, 2019 at 14:56
  • DK Bose Yes indeed, such a pity for what otherwise looks like a very nice reader nowadays. Anyway, after filing a bug report I found ways to pan with my touchpad in Evince, so I will post an answer and accept my own answer for one time ;)
    – vanadium
    Commented Mar 5, 2019 at 17:55

1 Answer 1

3

In Evince, panning of a document with what works like the "hand" tool in "competitive" PDF viewers (Okular, qpdfviewer, Adobe Acrobat) is triggered with the middle mouse button (if you have one). To have the same feature with your touch pad, you need a way to emulate a middle click with your touchpad. That may require changing some configuration options for your touchpad if you cannot achieve that by default.

What options are exposed or are available will depend on your desktop environment, on the driver you use (e.g. synaptics or libinput) and on your touchpad hardware. Thus, how you can emulate a middle mouse click, or enable such emulation, will depend on these factors. How I solved it for myself therefore is provided only as first inspiration because it may be different in your case.

For me, Gnome Tweak Tool exposes two options for "Mouse click emulation", "Fingers" and "Area". Although "Fingers" is supposed to emulate a middle mouse click with three fingers, that does not work for me. "Area", however, works. I can press the middle of the bottom area, the cursor changes to a hand and I am in business.

Users that have two-finger scrolling or both horizontal and vertical edge scrolling probably will never have noticed the issue. Also here, one can quite conveniently pan across a zoomed document. Rather than dragging the canvas with the hand tool, here it is a matter of scrolling. I do not like "two-finger" scrolling, because it gives issues in a case where you have a text document with one or more landscape pages inserted. Then, any scrolling with two fingers likely will also shift your document to the left or to the right (unless you very carefully make sure to have a strictly vertical two-finger movement, that is).

Yet, this lack of discoverability and dependency of the hardware of the user and the configuration (what if the mouse does not have a scrolling wheel?) is an issue with Evince.

1
  • My mouse works great, except for the fact that the scrolling wheel button is broken :). Commented Sep 25, 2022 at 20:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .