From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <835y5byvz5.fsf@gnu.org> References: <85lee88fej.wl--xmue@d1.dion.ne.jp> <83v8dc2on4.fsf@gnu.org> <83cyzj1n7p.fsf@gnu.org> <85wmxrxi14.wl--xmue@d1.dion.ne.jp> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13828"; mail-complaints-to="usenet@ciao.gmane.io" Cc: hiroya.ebine1@gmail.com, max@mal-richtig.de, 65070@debbugs.gnu.org To: Kazuhiro Ito Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 19 15:59:13 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qXMTw-0003Lu-EV for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Aug 2023 15:59:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXMTn-0000G8-6R; Sat, 19 Aug 2023 09:59:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qXMTk-0000E1-R0 for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2023 09:59:00 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qXMTk-0004il-J7 for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2023 09:59:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qXMTl-0008OZ-JM for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2023 09:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Aug 2023 13:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65070 X-GNU-PR-Package: emacs Original-Received: via spool by 65070-submit@debbugs.gnu.org id=B65070.169245353532253 (code B ref 65070); Sat, 19 Aug 2023 13:59:01 +0000 Original-Received: (at 65070) by debbugs.gnu.org; 19 Aug 2023 13:58:55 +0000 Original-Received: from localhost ([127.0.0.1]:52055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXMTe-0008O9-OQ for submit@debbugs.gnu.org; Sat, 19 Aug 2023 09:58:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXMTc-0008Nw-At for 65070@debbugs.gnu.org; Sat, 19 Aug 2023 09:58:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qXMTT-0004fC-6s; Sat, 19 Aug 2023 09:58:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=mkx0CHla9znYm9r9geYq2LrAnaSHOQyAMrCpEEOWUe0=; b=AZbVntlZ7qXE la61QuZ+uSPOtN1uh1UfOgOD6lQ5hwr5ESUmnMje4Mo+JfXEwDNRxorIrETpF0CQwjroU3XzvkiVW glkVKAdnIJS9bXVlDmEts47ltde/ykggnNX0NSwB+0azwiG2fvdXFmrCX6GJBgW3wHipL8+1n0vkH jBZOCJJSHUL+a7YzlUP3ndjKbRm8svo+cHfU/eXqPTfL4MK4/XaqJTfiHC7YpBhtOqsaI2eGOmXw8 ehGnvs20TiAW8DsspN+8vI7BcB2tuTQ7x6/BjiadYLEgTy79MNvSlynjhuCKeAHD4AQ6vJEXtqoTV ByhHNM/P4kiY0iBJYqB1sQ==; In-Reply-To: <85wmxrxi14.wl--xmue@d1.dion.ne.jp> (message from Kazuhiro Ito on Sat, 19 Aug 2023 22:45:27 +0900) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:267875 Archived-At: > Date: Sat, 19 Aug 2023 22:45:27 +0900 > From: Kazuhiro Ito > 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 (# 385 (308 . 211) 300986031 nil 385 (38 . 9) nil (4 . 13) (8 . 22)) 1 -3 (0.0 . -79.75)) > > > (wheel-up (# 158 (225 . 76) 300920437 nil 158 (28 . 3) nil (129 . 10) (8 . 22)) 1 3 (0.0 . 76.45)) > > > > > > ;; mouse wheel > > > (wheel-down (# 101 (237 . 26) 300913750 nil 101 (29 . 1) nil (5 . 4) (8 . 22))) > > > (wheel-up (# 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 (# 339 (357 . 207) 354039703 nil 339 (44 . 9) nil (357 . 9) (8 . 22)) 1 2 (0.0 . -56.650000000000006)) > (wheel-up (# 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 (# 204 (160 . 139) 353462328 nil 204 (20 . 6) nil (160 . 7) (8 . 22))) > (wheel-down (# 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?