GNU bug report logs -
#65129
30.0.50; pinch gestures suddenly stops being recognised
Previous Next
Reported by: Visuwesh <visuweshm <at> gmail.com>
Date: Mon, 7 Aug 2023 16:47:02 UTC
Severity: normal
Found in version 30.0.50
Done: Po Lu <luangruo <at> yahoo.com>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 65129 <at> debbugs.gnu.org (full text, mbox):
Visuwesh <visuweshm <at> gmail.com> writes:
> Unfortunately, I don't have a good reproducer for this but ever since
> updating to master from the emacs-29 branch, pinch gestures in Emacs
> frames suddenly stops being recognised. When I do C-h k and pinch, or
> view lossage, I see wheel-left and wheel-down events but no pinch event.
>
> However, if I create a new frame and try to pinch there, it works just
> fine.
>
> I apologise again for the vague report, but I have nothing better to
> offer. So far, I haven't tried to reproduce this in an emacs -Q
> session.
No worries there, please instrument handle_one_xevent like so:
diff --git a/src/xterm.c b/src/xterm.c
index f454733c659..57b06c571f6 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -24722,6 +24722,11 @@ handle_one_xevent (struct x_display_info *dpyinfo,
x_display_set_last_user_time (dpyinfo, pev->time,
pev->send_event, true);
+ if (device)
+ fprintf (stderr, "XI_GesturePinchBegin: %d\n", device->use);
+ else
+ fprintf (stderr, "XI_GesturePinchBegin: no device\n");
+
if (!device || device->use != XIMasterPointer)
goto XI_OTHER;
and show us what is printed when you attempt a pinch gesture after they
cease being delivered.
This bug report was last modified 1 year and 312 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.