bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#65070: 29.1; (Only on Windows) Both touchpad scroll gestures scroll


From: Eli Zaretskii
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

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]