From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#57526: 29.0.50; Precise pixel-scrolling works great with touchpad but not with mouse wheel Date: Fri, 02 Sep 2022 14:39:29 +0200 Message-ID: <87sfla2b8z.fsf@gnu.org> References: <87edwvqi16.fsf@gnu.org> <87wnamlgq3.fsf@yahoo.com> <875yi64ag4.fsf@gnu.org> <877d2mktry.fsf@yahoo.com> <871qsu3slk.fsf@gnu.org> <87pmgej6ri.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29180"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.9.0; emacs 29.0.50 Cc: 57526@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 02 14:54:02 2022 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 1oU6BL-0007N0-OE for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Sep 2022 14:53:59 +0200 Original-Received: from localhost ([::1]:44212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oU6BK-0007cD-9a for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Sep 2022 08:53:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43730) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU66Z-0001mK-Nt for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2022 08:49:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55488) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oU66Y-0008U1-4i for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2022 08:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oU66Y-0001Fz-14 for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2022 08:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Sep 2022 12:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57526 X-GNU-PR-Package: emacs Original-Received: via spool by 57526-submit@debbugs.gnu.org id=B57526.16621229024782 (code B ref 57526); Fri, 02 Sep 2022 12:49:01 +0000 Original-Received: (at 57526) by debbugs.gnu.org; 2 Sep 2022 12:48:22 +0000 Original-Received: from localhost ([127.0.0.1]:45237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU65u-0001F4-7q for submit@debbugs.gnu.org; Fri, 02 Sep 2022 08:48:22 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU65s-0001Ea-P1 for 57526@debbugs.gnu.org; Fri, 02 Sep 2022 08:48:21 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33186) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU65n-0008PY-EQ; Fri, 02 Sep 2022 08:48:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=v3Lc1wcf7guU2oMVoCPyBCqkBRa6KIvndcIRlMlmMso=; b=Ge4um6IP9+3AT9 3ewDkchAjp/nLkfNM96OSkHkkElM0SYctrlwPP49e5LbDRGou0voV0wkf5ZMT6pONcBOyUdXoGrDh zFij+mtOQybsHaJXCpW+/TrLImxPGBRzqMMYxH1xFM7zzrmLsoVfQxeztQ5EIzuFYpgkkrset7WRt RjF+C8k4cl982ynF7+L9WfrA9petcKMvhy7w6+/zSd7oUgQjJfmVya1iEU7zUmSHlZNnK4xIiiw9l I9A8TOb6f1RTXeav6k4TO1M3eiacryhVUN2VSmEWqNwJO6xR1IX8CHeZk+8bEaoa8VxwvbFkgzNgY dYu57DsljsKE3tU70ecg==; Original-Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:43689) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oU65n-00037L-6z; Fri, 02 Sep 2022 08:48:15 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id C02EB27C005C; Fri, 2 Sep 2022 08:48:14 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 02 Sep 2022 08:48:14 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeltddgheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpehffgfhvfevufffjgfkgggtsehttd ertddtredtnecuhfhrohhmpefvrghsshhilhhoucfjohhrnhcuoehtshguhhesghhnuhdr ohhrgheqnecuggftrfgrthhtvghrnhepudejtdehuddvleffjeekteegvdehleehvdeufe fhueekkeekhedvgfeggeffvefgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepthhhohhrnhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlih hthidqkeeijeefkeejkeegqdeifeehvdelkedqthhsughhpeepghhnuhdrohhrghesfhgr shhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: ib2b94485:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 2 Sep 2022 08:48:14 -0400 (EDT) In-reply-to: <87pmgej6ri.fsf@yahoo.com> 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" Xref: news.gmane.io gmane.emacs.bugs:241337 Archived-At: Po Lu writes: >> Actually, I use pgtk so that emacs runs as native wayland client but >> I guess that doesn't make a difference here. > > Hmm, please show what message is displayed when you scroll with the > mouse, after running this: > > (while t (read-event) (message "Device: %s" last-event-device)) Device: Virtual core pointer [24 times] >> AFAIK, X and wayland use libinput for device handling by default and >> "libinput list-devices" knows about touchpad AND USB mouse. Of >> course I have no clue if that has any relevance wrt. emacs. > > X doesn't necessarily use libinput for input handling. It all depends > on the input drivers in use. > > Most Wayland compositors do, however. I use sway and also have only xf86-input-libinput and xf86-input-synaptics installed. When I run "sudo libinput debug-events" and click and scroll with the USB mouse, I get: event6 POINTER_MOTION +34.209s 0.00/ 0.41 ( +0.00/ +1.00) event6 POINTER_BUTTON +34.209s BTN_LEFT (272) released, seat count: 0 event6 POINTER_SCROLL_WHEEL +35.425s vert -15.00/-120.0* horiz 0.00/0.0 (wheel) With the touchpad I get: -event18 GESTURE_HOLD_BEGIN +0.041s 2 event18 GESTURE_HOLD_END +2.254s 2 event18 POINTER_MOTION +3.456s -0.12/ 0.41 ( -1.00/ +3.32) event18 POINTER_MOTION +3.465s -0.24/ 1.60 ( -1.00/ +6.65) event18 POINTER_MOTION +3.475s -0.51/ 1.42 ( -2.00/ +5.54) event18 POINTER_MOTION +3.484s 0.00/ 2.85 ( +0.00/+11.08) event18 GESTURE_HOLD_BEGIN +4.527s 1 event18 GESTURE_HOLD_END +4.545s 1 In both cases, event6 and event18 are the devices shown by "sudo libinput list-devices". Bye, Tassilo