GNU bug report logs - #58980
29.0.50; Mouse wheel scroll twitches up sometimes when I scroll down

Previous Next

Package: emacs;

Reported by: Mickey Petersen <mickey <at> fyeah.org>

Date: Thu, 3 Nov 2022 06:48:03 UTC

Severity: normal

Found in version 29.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Po Lu <luangruo <at> yahoo.com>
To: Mickey Petersen <mickey <at> fyeah.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 58980 <at> debbugs.gnu.org
Subject: bug#58980: 29.0.50; Mouse wheel scroll twitches up sometimes when I scroll down
Date: Thu, 03 Nov 2022 19:07:23 +0800
Mickey Petersen <mickey <at> fyeah.org> writes:

> I _do_, however, have a way that seems to reproduce the issue: when I
> scroll an inactive window and then go back to scrolling the active
> window the bug manifests itself more easily:
>
> 1. Ensure there are two windows minimum.

Windows, or frames?

> Seems there's some stateful behaviour that does or does not get
> carried over when the 'hovered window scroll' changes?

No, that shouldn't be it.  Emacs tracks scroll valuators on a
display-local basis, but only gets motion events for the valuator when
the mouse pointer is inside a frame.  As a result, scroll valuators are
reset upon crossing events, as by the time an XI_Enter event arrives,
the stored value can no longer be trusted.

So please answer the question above.




This bug report was last modified 2 years and 258 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.