From: Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
To: luangruo@yahoo.com
Cc: tkk@misasa.okayama-u.ac.jp, 57995@debbugs.gnu.org
Subject: bug#57995: <wheel-right> with pixel-scroll-precision-mode
Date: Tue, 27 Sep 2022 13:15:52 +0900 (JST) [thread overview]
Message-ID: <20220927.131552.1724748853665316882.tkk@misasa.okayama-u.ac.jp> (raw)
In-Reply-To: <87edvya7pt.fsf@yahoo.com>
I do not know how to call debugger.
It will take a while to respond!
>>>> With pixel-scroll-precision-mode, <wheel-right> and <wheel-left> does
>>>> not work. Is this expected behavior?
>>>>
>>>> 1. emacs -Q
>>>> 2. (setq mouse-wheel-tilt-scroll t)
>>>> 3. <wheel-right> or <wheel-left> scrolls buffer.
>>>> 4. (pixel-scroll-precision-mode 1)
>>>> 5. Then <wheel-right> or <wheel-left> does not scroll buffer.
>>>
>>> Thanks for reporting this bug. Could you please include the output from
>>> `report-emacs-bug', as this is likely a system-specific issue?
>>
>> No buffer scroll with <wheel-right> and <wheel-left> by mouse with Mac.
>> I confirm that I can scroll buffer with swipe-right and swipe-left by
>> touchpad with MacBook.
>
> Right, thanks. Could you please run Emacs underneath a debugger (GDB or
> LLDB), and see whether or not this code around line 7342 of nsterm.m is
> ever hit:
>
> CGFloat delta = [theEvent deltaY];
> /* Mac notebooks send wheel events with delta equal to 0
> when trackpad scrolling. */
> if (delta == 0)
> {
> delta = [theEvent deltaX];
> if (delta == 0)
> {
> NSTRACE_MSG ("deltaIsZero");
> return;
> }
> emacs_event->kind = HORIZ_WHEEL_EVENT; <================
> }
> else
> emacs_event->kind = WHEEL_EVENT;
>
> emacs_event->code = 0;
> emacs_event->modifiers = EV_MODIFIERS (theEvent) |
> ((delta > 0) ? up_modifier : down_modifier);
>
> when you try to scroll left or right with your mouse while
> pixel-scroll-precision-mode is enabled?
next prev parent reply other threads:[~2022-09-27 4:15 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-22 3:50 bug#57995: <wheel-right> with pixel-scroll-precision-mode Tak Kunihiro
2022-09-22 8:55 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-26 5:43 ` Tak Kunihiro
2022-09-26 7:57 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-27 4:15 ` Tak Kunihiro [this message]
2022-09-27 4:49 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-07 9:34 ` Tak Kunihiro
2022-11-07 9:57 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-08 1:34 ` Tak Kunihiro
2022-11-08 1:42 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-08 1:47 ` Tak Kunihiro
2022-11-08 5:23 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-08 5:28 ` Tak Kunihiro
2022-11-08 8:10 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-03 9:20 ` Stefan Kangas
2023-09-03 9:36 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-04 0:18 ` Tak Kunihiro
2023-09-04 13:13 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
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=20220927.131552.1724748853665316882.tkk@misasa.okayama-u.ac.jp \
--to=tkk@misasa.okayama-u.ac.jp \
--cc=57995@debbugs.gnu.org \
--cc=luangruo@yahoo.com \
/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).