linuxmint / xreader

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

Scroll on a image in a pdf causes the application to hang the input and be closed #645

Open MauroFoti opened 2 months ago

MauroFoti commented 2 months ago

Distribution

Mint 21.3 Cinnamon

Package version

4.0.2

Frequency

Quite often

Bug description

Scrolling a pdf on touchscreen sometimes hangs, because the application interprets the movement as a drag, showing a document icon, equal to the one shown when scrolling with the mouse (but without the small black hand and the green plus in a circle). This causes all successive touch inputs to be locked in "drag" status, blocking any scrolling and any other movement, requiring to close and open the application.

Steps to reproduce

  1. open a pdf
  2. scroll with touchscreen
  3. some times (quite often) the bug appears when scrolling starts from a picture (almost 100% of the times with pdf that are scans or drawings so all page is an image)

Expected behavior

The pdf should scroll and images should not be dragged in touchscreen, or should be only after a long press

Additional information

No response