all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Kazuhiro Ito <kzhr@d1.dion.ne.jp>
Cc: hiroya.ebine1@gmail.com, max@mal-richtig.de, 65070@debbugs.gnu.org
Subject: bug#65070: 29.1; (Only on Windows) Both touchpad scroll gestures scroll the screen up and down.
Date: Sat, 19 Aug 2023 16:58:54 +0300	[thread overview]
Message-ID: <835y5byvz5.fsf@gnu.org> (raw)
In-Reply-To: <85wmxrxi14.wl--xmue@d1.dion.ne.jp> (message from Kazuhiro Ito on Sat, 19 Aug 2023 22:45:27 +0900)

> Date: Sat, 19 Aug 2023 22:45:27 +0900
> From: Kazuhiro Ito <kzhr@d1.dion.ne.jp>
> Cc: 65070@debbugs.gnu.org,
> 	hiroya.ebine1@gmail.com,
> 	max@mal-richtig.de
> 
> > > > Thanks.  Can you show the complete data of the events in both the
> > > > mouse and the touchpad cases?
> > > 
> > > ;; touchpad
> > > (wheel-down (#<window 62 on *scratch*> 385 (308 . 211) 300986031 nil 385 (38 . 9) nil (4 . 13) (8 . 22)) 1 -3 (0.0 . -79.75))
> > > (wheel-up (#<window 62 on *scratch*> 158 (225 . 76) 300920437 nil 158 (28 . 3) nil (129 . 10) (8 . 22)) 1 3 (0.0 . 76.45))
> > > 
> > > ;; mouse wheel
> > > (wheel-down (#<window 62 on *scratch*> 101 (237 . 26) 300913750 nil 101 (29 . 1) nil (5 . 4) (8 . 22)))
> > > (wheel-up (#<window 62 on *scratch*> 159 (275 . 101) 300906703 nil 159 (34 . 4) nil (275 . 13) (8 . 22)))
> > 
> > Thanks.  Does the patch below help?
> 
> I confirmed the problem was fixed.  Thank you.

Thanks, I installed the change on the emacs-29 branch.

Would all people who filed this and similar bug reports for touchpad
scrolling on Windows please see if the current emacs-29 branch fixes
their problems?

> > Also, can you try this with mwheel-coalesce-scroll-events set to nil
> > and report the events Emacs gets in that case and the effect it
> > produces on scrolling with the touchpad and the mouse wheel?
> 
> ;; touchpad (with patch)
> (wheel-down (#<window 19 on *scratch*> 339 (357 . 207) 354039703 nil 339 (44 . 9) nil (357 . 9) (8 . 22)) 1 2 (0.0 . -56.650000000000006))
> (wheel-up (#<window 19 on *scratch*> 262 (357 . 207) 354036593 nil 262 (44 . 9) nil (5 . 9) (8 . 22)) 1 2 (0.0 . 40.699999999999996))
> 
> ;; mouse wheel (with patch)
> (wheel-up (#<window 19 on *scratch*> 204 (160 . 139) 353462328 nil 204 (20 . 6) nil (160 . 7) (8 . 22)))
> (wheel-down (#<window 19 on *scratch*> 214 (239 . 319) 353457609 nil 214 (29 . 11) nil (239 . 77) (8 . 22)))
> 
> line counts of touchpad events vary from 0 to 3.  In the case that
> line count is 0, actual scroll doesn't occur.

Thanks, this is as expected, I think.  Is scrolling with the touchpad
more smooth if you set mwheel-coalesce-scroll-events to the nil value?





  reply	other threads:[~2023-08-19 13:58 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-04 15:32 bug#65070: 29.1; (Only on Windows) Both touchpad scroll gestures scroll the screen up and down Hiroya Ebine
2023-08-05  9:04 ` bug#65070: 29.1; (Only on Windows) Both touchpad scroll gestures scroll the screen up only Hiroya Ebine
2023-08-05 10:44   ` Eli Zaretskii
2023-08-05  9:51 ` bug#65070: 29.1; (Only on Windows) Both touchpad scroll gestures scroll the screen up and down Eli Zaretskii
2023-08-07 13:18   ` Hiroya Ebine
2023-08-07 14:05     ` Eli Zaretskii
2023-08-08 10:19 ` bug#65070: max
2023-08-08 12:46   ` bug#65070: Eli Zaretskii
2023-08-08 12:54     ` bug#65070: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-08 13:04       ` bug#65070: Eli Zaretskii
2023-08-18 16:49 ` bug#65070: 29.1; (Only on Windows) Both touchpad scroll gestures scroll the screen up and down Kazuhiro Ito
2023-08-18 18:26   ` Eli Zaretskii
2023-08-18 18:39     ` Corwin Brust
2023-08-18 22:58       ` Kazuhiro Ito
2023-08-19  7:56         ` Eli Zaretskii
2023-08-19 13:46           ` Kazuhiro Ito
2023-08-19 14:00             ` Eli Zaretskii
2023-08-18 22:54     ` Kazuhiro Ito
2023-08-19  7:54       ` Eli Zaretskii
2023-08-19 13:45         ` Kazuhiro Ito
2023-08-19 13:58           ` Eli Zaretskii [this message]
2023-08-19 15:27             ` Kazuhiro Ito
2023-08-19 15:32               ` Eli Zaretskii
2023-08-20  0:16                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-20  6:28                   ` Eli Zaretskii
2023-08-20 13:14                     ` Kazuhiro Ito
2023-08-20 13:34                       ` Eli Zaretskii
2023-08-19 14:06         ` Eli Zaretskii
2023-08-20  0:19           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-20  6:34             ` Eli Zaretskii
2023-08-20  7:04               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-20  7:13                 ` Eli Zaretskii
2023-08-20  7:43                   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-20  8:10                     ` Eli Zaretskii

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=835y5byvz5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=65070@debbugs.gnu.org \
    --cc=hiroya.ebine1@gmail.com \
    --cc=kzhr@d1.dion.ne.jp \
    --cc=max@mal-richtig.de \
    /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.