all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Alexander Huntley <huntley.alexander@gmail.com>
Cc: 50269@debbugs.gnu.org
Subject: bug#50269: 27.2; Request: use GTK continuous scroll events for smooth touchpad scrolling
Date: Mon, 30 Aug 2021 22:14:31 +0300	[thread overview]
Message-ID: <837dg2kanc.fsf@gnu.org> (raw)
In-Reply-To: <58354f61-70c9-0098-226b-cd086efea1f5@gmail.com> (message from Alexander Huntley on Mon, 30 Aug 2021 20:02:00 +0100)

> From: Alexander Huntley <huntley.alexander@gmail.com>
> Cc: 50269@debbugs.gnu.org
> Date: Mon, 30 Aug 2021 20:02:00 +0100
> 
> > Then I don't think I understand what you'd like Emacs to do in this
> > case, and how would that be different from pixel-scroll-mode.  Please
> > tell more.
> Modern touchpads offer more precision than scroll wheels, so it is possible
> (e.g. in Firefox, using libinput drivers) to make the view scroll by
> just 1 or 2 pixels using small movements. As a result, the scrolling
> corresponds closely to the hand movement on the trackpad. This feels
> good (like scrolling on a touchscreen).
> 
> Emacs (because it ignores this higher-precision scrolling data) basically
> quantizes the available scroll positions, which ought to be continuous.
> This makes scrolling on Emacs feel more abrupt than in other apps.
> 
> pixel-scroll-mode does not fix this; it just provides an animation between
> scroll positions. The available positions remain quantized at line
> boundaries.

We are probably having communication difficulties due to terminology
you are using.  pixel-scroll-mode doesn't work on line granularity, it
actually shifts the display one pixel at a time.  If you scroll by
enough pixels so that the sum total of those pixels amounts to one
line, pixel-scroll-mode resets the display shift offset to zero and
scrolls the display by one full line, then it keeps shifting one pixel
at a time.

Given this description of how pixel-scroll-mode works, what exactly
would you like to change?

Or maybe looking at this from a different angle: how does the behavior
you'd like to see differ from what pixel-scroll-mode produces?





  reply	other threads:[~2021-08-30 19:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-30 13:35 bug#50269: 27.2; Request: use GTK continuous scroll events for smooth touchpad scrolling Alexander Huntley
2021-08-30 15:57 ` Eli Zaretskii
2021-08-30 18:37   ` Alexander Huntley
2021-08-30 18:40     ` Eli Zaretskii
2021-08-30 19:02       ` Alexander Huntley
2021-08-30 19:14         ` Eli Zaretskii [this message]
2021-08-30 21:26           ` Alexander Huntley
2021-08-31 12:17             ` Eli Zaretskii
2021-08-31 16:33               ` Kévin Le Gouguec
2021-08-31 16:39                 ` Eli Zaretskii
2021-09-01 12:57                   ` Alexander Huntley
2021-09-01 13:49                     ` Eli Zaretskii
2021-08-30 19:28 ` Alan Third
2021-08-30 21:36   ` Alexander Huntley
2021-08-30 22:22     ` Alan Third
2022-08-22 16:03 ` Lars Ingebrigtsen
2022-09-19 19:21   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=837dg2kanc.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=50269@debbugs.gnu.org \
    --cc=huntley.alexander@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.