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

Johannes Hofmann <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
Hi Andreas,

On Tue, Jun 12, 2018 at 06:33:22PM +0200, Andreas Kemnade wrote:
> 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.

this sounds interesting! Are you running Debian in a chroot in
parallel to Android or as the primary OS?

Regards,
Johannes


_______________________________________________
Dillo-dev mailing list
[email protected]
http://lists.dillo.org/cgi-bin/mailman/listinfo/dillo-dev
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.