Re: [PATCH] Optionals single-finger scroll for touchscreens and 2-in-1's

Andreas Kemnade <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <20180612183322.00a166cc@aktux>
On Sun, 10 Jun 2018 11:12:18 -0700
Alyssa Rosenzweig <[email protected]> wrote:

> On touchscreens, the natural way to scroll is by "moving" the page up
> and down with the user's finger, mimicking the behaviour of most
> touchscreen-aware browsers. Using the scrollbar on these devices is
> clunky and imprecise unless the bar is large, which would take precious
> screen real estate on small displays.
> 
> From Dillo's perspective, this action corresponds to a click-and-drag of
> the left mouse button. Dillo already has an option for click-and-drag
> scrolling with the middle mouse button; this patch piggybacks on that
> functionality to optionally support left-click scrolling as well.
> 

xinput set-button-map  bound to something is also helpful on those devices.


> Normally, left-click-and-drag corresponds to text selection. When this
> touchscreen drag preference is enabled, text selection requires the
> Shift key to be held, which disables scrolling temporarily. The choice
> of "Shift" aligns with Firefox's defaults for touchscreens.
> Unfortunately, this prevents selection if Dillo is used purely on a
> tablet (not a laptop with a touchscreen); perhaps a double-tap-and-drag
> would be a more natural gesture.
> 
I tested that patch on my smartphone running debian. Mosty I am
looking for (severe) weather forcasts. For some reason I can sometimes
still mark text. I do not know why, found no reproducible way to do it.

Regards,
Andreas

_______________________________________________
Dillo-dev mailing list
[email protected]
http://lists.dillo.org/cgi-bin/mailman/listinfo/dillo-dev
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE7sDbhY5mwNpwYgrAfb1qx03ikyQFAlsf9dIACgkQfb1qx03i
kyTiDQ//fYGS4VKzcamXIyanQ4buEHC3GBFc8G0MGVOkyovqP/WMdYMaywYKgQKZ
snYwKZbIw+Lm3nFNUGeJ8wrGe+8j4oEFF8MAQta/e8LoAXxXRXJtaTjnP5kR6jbV
kZbPZ9WtEzSqOSvyYy2rRatelwNGkOOd0bOCiPz9+2aWUPBj8I6QWY+54TBL8E63
hsvLq8q67rYEnfL5V05LMcmz5rCOTSyXMv4H2Exd8v2xzxTyI6WSrrB44HqkcPry
xw4cs0g/hbTlgHMRnA2fo7xCAJP1v2DCtCpfL5LzjZt96dUw2+s9gYIadahznwbt
RsCzjNA36aclq/Uwx3pXfrG3rJkjbttuxpK6bzbe+w78O8HKrU2++vb57NfPvJkq
+1g2x37SJhXQD7ERKX2kNnpvUcVTHGdFEIgMxWnFq0Ly3GgAKtkQVN7zntQpaWkF
iiY+E4Hf/EcrMHalvJy1BH/C2qrt+q1GRPhGjrU+n09FSgLVTTOzPxjjxlXHLDpi
gUCz9UNoTP2PmYd0y2lwlbn6pjc7CRnL6eRw0PaThRgYh8igHxRp2IAhrFtBAB2A
uTIBtwp/vLNX4dW+kwvCE0PFOCXWwwUZKXB/TQUIfOulU4Ia1s1cJti1STzhmlNC
FVzexkqXiCKRf7hNSt6kmOUA98Sa4q1NjpZ0YyehvvNS4QHKqEs=
=Bxth
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.