Re: Missing events

Juan José García-Ripoll <[email protected]> Thu, 03 Jul 2025 11:59:10 +0200
Newsgroups gmane.emacs.windows
Message-ID <[email protected]>
Thanks for the information. The report looks a bit different. This
mouspad has three clicking systems:

1- Physical buttons on the top
2- The possibility of tapping with one or two fingers on the trackpad,
acting as left and right button, respectively.
2- Actually pressing the bottom of the trackpad, which also clicks as a
button

Only the first system produces events in Emacs. This is weird, because vim
recognizes all of them. It is also weird, because the scroll gesture
(two fingers moving up and down) does generate an event in Emacs.

Best,

Juanjo

Eli Zaretskii <[email protected]> writes:
>> From: Juan José García-Ripoll
>>  <[email protected]>
>> Date: Thu, 03 Jul 2025 08:36:17 +0200
>> 
>> I don't know what has happend, but for the last weeks, since upgrading
>> to Emacs 30.1, my laptop does not recognize left- and right-button
>> clicks when performed on the trackpad.
>> 
>> This is a Lenovo laptop that combines usual trackpad buttons, buttons
>> based on clicking the trackpad and button events by pressing with a
>> single or two fingers.
>> 
>> Emacs, contrary to other programs (e.g. Firefox, Notepad, or vim), only
>> recognizes (i) click events based on the physical buttons, (ii) mouse
>> motions on the trackpad and (iii) scroll events based on two-finger
>> motions.
>> 
>> It does not register (i) mouse button events based on clicking the
>> trackpad, (ii) mouse button events based on single- or two-finger
>> gestures.
>> 
>> I have used (read-event) to check this. The detected events show up
>> nicely both in the output and in last-command-event. The other events do
>> not even show up.
>> 
>> Any hints how to fix/debug this?
>
> See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78918.  Someone
> reported a similar problem, which I was unable to reproduce (on a
> Lenovo laptop with a touchpad).  It then turned out that the OP fixed
> the problem by reinstalling Windows.
>
> I can only repeat that I cannot reproduce this, and ask you to examine
> your Windows settings and installed software for some factors which
> could explain what you see.  If/when we understand what causes this,
> we could discuss possible solutions.
>
> Btw, I'm not sure I understand completely which touchpad gestures
> don't register.  So please describe in details the gestures which do
> not register: how exactly do you perform them on the laptop.
>
> I suggest that you write these details to [email protected], so
> that we could discuss the problem there.
>
>

-- 
Juan José García Ripoll
http://juanjose.garciaripoll.com
http://quinfog.hbar.es