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: Fri, 18 Aug 2023 21:26:07 +0300 Message-ID: <83v8dc2on4.fsf@gnu.org> References: <85lee88fej.wl--xmue@d1.dion.ne.jp> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1550"; 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 Fri Aug 18 20:27:34 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 1qX4C6-0000AM-7M for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Aug 2023 20:27:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qX4Bc-0002XS-7p; Fri, 18 Aug 2023 14:27:04 -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 1qX4BZ-0002XA-Ku for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 14:27:01 -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 1qX4BZ-0002eT-CZ for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 14:27:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qX4BZ-0003Sz-Rn for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 14:27: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: Fri, 18 Aug 2023 18:27: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.169238316613260 (code B ref 65070); Fri, 18 Aug 2023 18:27:01 +0000 Original-Received: (at 65070) by debbugs.gnu.org; 18 Aug 2023 18:26:06 +0000 Original-Received: from localhost ([127.0.0.1]:48771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qX4Af-0003Ro-KT for submit@debbugs.gnu.org; Fri, 18 Aug 2023 14:26:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qX4Ad-0003RJ-UJ for 65070@debbugs.gnu.org; Fri, 18 Aug 2023 14:26:04 -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 1qX4AW-0002SC-JS; Fri, 18 Aug 2023 14:25:56 -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=f2JL/PpX6m0x+P1I0N1acNclpVETV/BCHtW9uaPiUn0=; b=ZNUdTCDI91ko QsPhktKL9oh7Eb0Z2I+JAu5GkMCWZrk5DGb+dkTs8RcNNPUkA1V4lBQxf6/Q5ccuNMIEJkNXMb3+L qRDWH+eGkb2s/RGvLkE5C73hfc91gZPWc8JuU34OTl/vVkMsUlL4M5ahea4hCvMqYJyBV7Kx5kSh8 bzbL34LSwDPk7PJa0SWtkDaOvTf/yne0Lwy4VIQ2pKFdv7xoIOlWbidXia3ubvSuyhSUsib4KBmRI 6ErB3hZSQHAawE8inTtE6iZciY8AZ+kH0HuNiCfII6SK25TwSi2oX5lTTudOEbYiTZChtDaoT9iA2 KwQ2kk+W9ToQs6+8WnQMiQ==; In-Reply-To: <85lee88fej.wl--xmue@d1.dion.ne.jp> (message from Kazuhiro Ito on Sat, 19 Aug 2023 01:49:08 +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:267778 Archived-At: > Date: Sat, 19 Aug 2023 01:49:08 +0900 > From: Kazuhiro Ito > Cc: Hiroya Ebine , > Eli Zaretskii , max@mal-richtig.de > > > 1. c-h i (open any vertically long document) > > M-> (move to the bottom of the document) 3. > > 3. perform the scroll down gesture on the touchpad. > > > > Then you will see the screen scroll up. > > Either scroll down or scroll up, whichever you do, the screen will scroll up. > > I noticed that when I input wheel-down with touchpad, line count is > set to negative value, which should be positive integer. > > (let ((event (read-event))) > (cons (car event) (event-line-count event))) > > ;; Input via touchpad > (wheel-down . -3) > (wheel-up . 3) > > ;; Input via mouse wheel > (wheel-down . 1) > (wheel-up . 1) Thanks. Can you show the complete data of the events in both the mouse and the touchpad cases? And I wonder how come the results are different: the Windows events reported to Emacs are the same events, and are processed by the same code. Hmm...