unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrey Listopadov <andreyorst@gmail.com>
To: Yuuki Harano <masm+emacs@masm11.me>
Cc: luangruo@yahoo.com, 52685@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	[thread overview]
Message-ID: <CAAKhXoZ-92S-v761fXnnbyyj_CPf7VzWoHMhEorBy-NXWpYqrg@mail.gmail.com> (raw)
In-Reply-To: <20211221.222847.806642445048126400.masm@luna.pink.masm11.me>

[-- Attachment #1: Type: text/plain, Size: 997 bytes --]

вт, 21 дек. 2021 г., 16:28 Yuuki Harano <masm+emacs@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

[-- Attachment #2: Type: text/html, Size: 1602 bytes --]

  reply	other threads:[~2021-12-21 13:54 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-20 20:42 bug#52685: 29.0.50; Horizontal scrolling doesn't work when compiled with pgtk Andrey Listopadov
2021-12-21  1:27 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-21  7:22   ` Andrey Listopadov
2021-12-21  7:27     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-21 13:28   ` Yuuki Harano
2021-12-21 13:54     ` Andrey Listopadov [this message]
2021-12-22  1:00       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-22  1:09         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-22  5:55           ` Andrey Listopadov
2021-12-22  6:11             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-22  8:14               ` Andrey Listopadov
2021-12-22  9:29                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-22 13:24                   ` Andrey Listopadov
2021-12-22 13:26                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-22 13:33                     ` Andrey Listopadov
2021-12-22 13:36                       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-22 13:48                         ` Andrey Listopadov
2022-01-10 18:40                           ` Andrey Listopadov
2022-01-11  0:54                             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-11  4:16                               ` Andrey Listopadov
2022-01-11  4:22                                 ` Andrey Listopadov
2022-01-11  4:39                                   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-11  5:39                                     ` Andrey Listopadov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAKhXoZ-92S-v761fXnnbyyj_CPf7VzWoHMhEorBy-NXWpYqrg@mail.gmail.com \
    --to=andreyorst@gmail.com \
    --cc=52685@debbugs.gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=masm+emacs@masm11.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).