From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Urban Duh Newsgroups: gmane.emacs.bugs Subject: bug#54436: 28.0.91; Only every second mouse wheel scroll is registered Date: Tue, 22 Mar 2022 14:59:40 +0100 Message-ID: References: <87ee2yn4pw.fsf@yahoo.com> <87pmmiowju.fsf@gnus.org> <87h77skq71.fsf@yahoo.com> <871qyvlg5u.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000db79e505dacf060d" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25268"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , 54436@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 22 15:01:04 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 1nWf4K-0006MN-4M for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Mar 2022 15:01:04 +0100 Original-Received: from localhost ([::1]:33656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWf4J-0000Nn-4t for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Mar 2022 10:01:03 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWf3K-0000NP-V2 for bug-gnu-emacs@gnu.org; Tue, 22 Mar 2022 10:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47540) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nWf3K-0000xr-KK for bug-gnu-emacs@gnu.org; Tue, 22 Mar 2022 10:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nWf3K-00065k-EY for bug-gnu-emacs@gnu.org; Tue, 22 Mar 2022 10:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Urban Duh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Mar 2022 14:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54436 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 54436-submit@debbugs.gnu.org id=B54436.164795759923384 (code B ref 54436); Tue, 22 Mar 2022 14:00:02 +0000 Original-Received: (at 54436) by debbugs.gnu.org; 22 Mar 2022 13:59:59 +0000 Original-Received: from localhost ([127.0.0.1]:41437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWf3H-000655-Jj for submit@debbugs.gnu.org; Tue, 22 Mar 2022 09:59:59 -0400 Original-Received: from mail-wm1-f52.google.com ([209.85.128.52]:39701) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWf3F-00064q-QW for 54436@debbugs.gnu.org; Tue, 22 Mar 2022 09:59:58 -0400 Original-Received: by mail-wm1-f52.google.com with SMTP id bi13-20020a05600c3d8d00b0038c2c33d8f3so2721047wmb.4 for <54436@debbugs.gnu.org>; Tue, 22 Mar 2022 06:59:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Cbkp7ZfThDFDvYpk+0WyX5i2DbmRN8uckLprJeLvisk=; b=X/4Gu2nVbdzP/0Npbejir1b20usyDC+sMVmTAMBb39+t8D6KJm2dQLSs3da1kOHSj0 LB+gx0M1CizQ9XSBCqcbOYZQDQdBoph7fYFgqKSxXElTAOynvT2l5whtwD9sCepqu9ib D6B8q9cTFkaAayypYTLn/rGXBGHViOYye+sF8YibcFsyn/jimDr/e5YabJq8KHpM270p 4pZO6/e89nmuuFXihmkX1QuEZLFr5I4He0XUTARYiRPF83RkWfpDyYEuWEZ38bJ07q9t AAVEy1OC1xKdWUadc93ryUQwyrw17NNYOlqrHtigjx/o/zYruC+/AsT5mzq5L6v7krjk NzOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Cbkp7ZfThDFDvYpk+0WyX5i2DbmRN8uckLprJeLvisk=; b=URyG7/KMTQpvyeO2X9flLiKBO8pL0baFJM3egyRAaw6vh0OcVUZ9LPyvGppEfl1NDO X/y07Q3u0jhp9btQvXkp70W2YfJ/S3i6y1vh2o16F0d9oIzdyCwsqJu2ARSxV8bp0xII qTiPTqUn59kTHa6ObLIn6qmZOce2ufAiyHLSE97xbu4UTLTQfBOB28tAtRB6Shr3KQq3 RU69vkuqWUx+TftdaGREywNbTC5YjxBDVZKziZRjEQt0r0qJHt6QVAl23SjB3BpQ3GTF 7NpOsoraMlPROHOKBiTCfDzatD9Z6ve2CfjXA6MbtY+y51GbSG44DY5mwCu/IhVLk24y +cUQ== X-Gm-Message-State: AOAM53223heKVc+xF6PdwFIEoCr4p/GM4l5L1g7tOCtYtbDK7oQQoQXu gQf3x3edGTVCi8dkA+gD65FsyyXhbBgd66SA9YY= X-Google-Smtp-Source: ABdhPJyNxjTYNRos99J3PEWssJwGycs/aMci5uUMFAtmVqosm3LRNH2kJk/ttH9zbgZvKODX+H5hnTPUJD+ct6znDDo= X-Received: by 2002:adf:eb87:0:b0:1ef:85f5:6ab4 with SMTP id t7-20020adfeb87000000b001ef85f56ab4mr23497735wrn.158.1647957591684; Tue, 22 Mar 2022 06:59:51 -0700 (PDT) In-Reply-To: <871qyvlg5u.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:228749 Archived-At: --000000000000db79e505dacf060d Content-Type: text/plain; charset="UTF-8" This makes scrolling behave as it should on Wayland. On X however, Emacs now receives too many scroll events per scroll on certain mouses. On Logitech MX master 3, every mouse wheel scroll is registered as a double or triple scroll. I would guess this has something to do with its scroll wheel, since it has an electromagnetic scroll wheel. Such issues do not exists on Emacs 28 though, but I guess I could probably make it usable by binding triple scroll to normal scroll. On Mon, 21 Mar 2022 at 12:05, Po Lu wrote: > Urban Duh writes: > > >> On the other hand, I don't see why that would happen on Wayland. Do you > >> see a similar problem with a different mouse? And can you verify that > >> your build is actually running in Wayland and not Xwayland? > > > > I have the same issue with two different mouses (Logitech MX Master 3 and > > a cheap off-brand mouse). My build is running Wayland (tested with xeyes > > and by disabling Xwayland on gnome via gnome-shell --no-x11). > > What happens if you set mwheel-coalesce-scroll-events to nil? > --000000000000db79e505dacf060d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This makes scrolling behave as it should on Wayland. On X however= , Emacs now receives too many scroll events per scroll on certain mouses. O= n Logitech MX master 3, every mouse wheel scroll is registered as a double = or triple scroll. I would guess this has something to do with its scroll wh= eel, since it has an electromagnetic scroll wheel. Such issues do not exist= s on Emacs 28 though, but I guess I could probably make it usable by bindin= g triple scroll to normal scroll.

On Mon, 21 Mar 2022 at 12:= 05, Po Lu <luangruo@yahoo.com&= gt; wrote:
Urban Duh <urby.duh@gmail.com> writes:

>> On the other hand, I don't see why that would happen on Waylan= d.=C2=A0 Do you
>> see a similar problem with a different mouse?=C2=A0 And can you ve= rify that
>> your build is actually running in Wayland and not Xwayland?
>
> I have the same issue with two different mouses (Logitech MX Master 3 = and
> a cheap off-brand mouse). My build is running Wayland (tested with xey= es
> and by disabling Xwayland on gnome via gnome-shell --no-x11).

What happens if you set mwheel-coalesce-scroll-events to nil?
--000000000000db79e505dacf060d--