GNU bug report logs - #52685
29.0.50; Horizontal scrolling doesn't work when compiled with pgtk

Previous Next

Package: emacs;

Reported by: Andrey Listopadov <andreyorst <at> gmail.com>

Date: Mon, 20 Dec 2021 20:44:01 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: Andrey Listopadov <andreyorst <at> gmail.com>
To: Yuuki Harano <masm+emacs <at> masm11.me>
Cc: luangruo <at> yahoo.com, 52685 <at> debbugs.gnu.org
Subject: bug#52685: 29.0.50; Horizontal scrolling doesn't work when compiled with pgtk
Date: Tue, 21 Dec 2021 16:54:13 +0300
[Message part 1 (text/plain, inline)]
вт, 21 дек. 2021 г., 16:28 Yuuki Harano <masm+emacs <at> masm11.me>:

>
> > The main issue now is that horizontal
> > scrolling with a touchpad no longer works for me. All horizontal events
> > are registered as mwheel-down events.
>
> Are all of left and right scroll events registered as mwheel-down?
>
> Does the issue reproduce even if `emacs -Q`?
>
> --
> Yuuki Harano



I've figured out that this was caused by me enabling
`pixel-scroll-precision-mode'. If the mode is enabled, all horizontal
events are treated as wheel-down in PGTK build. Additionally to that, it
seems that all events that are not exactly wheel-up are treated as down
events, e.g. C-<wheel-up> is also seen as C-<wheel-down> (in `emacs -Q'
with `pixel-scroll-precision-mode' enabled)

When `pixel-scroll-precision-mode' is disabled everything works fine.
When compiled without `--with-pgtk' but with `--with-xinput2'
`pixel-scroll-precision-mode' works as expected.


--
Andrey Listopadov
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 132 days ago.

Previous Next


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