Re: With set_event_compression, most recent motion event is held in waiting

Andrew Potter via gtkmm-list <[email protected]> Mon, 23 May 2022 10:57:31 -0700
Newsgroups gmane.comp.gnome.gtkmm
Message-ID <CABgWb1KsHNnXQHoPt-FbqJWvoz6ckipF0kEFuD8QwuUTtrgemA@mail.gmail.com>
--===============5270522800319246813==
Content-Type: multipart/alternative; boundary="0000000000009bb9b305dfb19370"

--0000000000009bb9b305dfb19370
Content-Type: text/plain; charset="UTF-8"

On Mon, May 23, 2022 at 9:15 AM JLM via gtkmm-list <[email protected]>
wrote:

> I have updated my test. Now you don't have to press a mouse button, but
> you can press a keyboard key instead. The problem isn't that I am
> seeing extra events, the problem is that the extra event seems to be
> hiding, or stuck in a backend/library queue.
>

The issue is probably even lower than GTK. Maybe libinput? Did you look at
the timestamp of the events?

https://wayland.freedesktop.org/libinput/doc/latest/timestamps.html

The above link suggests some events are delivered out of order

--0000000000009bb9b305dfb19370
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"g=
mail_attr">On Mon, May 23, 2022 at 9:15 AM JLM via gtkmm-list &lt;<a href=
=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<br></d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left:1px solid rgb(204,204,204);padding-left:1ex">I have updated my test=
. Now you don&#39;t have to press a mouse button, but<br>
you can press a keyboard key instead. The problem isn&#39;t that I am<br>
seeing extra events, the problem is that the extra event seems to be<br>
hiding, or stuck in a backend/library queue.<br></blockquote><div><br></div=
><div>The issue is probably even lower than GTK. Maybe libinput? Did you lo=
ok at the timestamp of the events? <br></div><div><br></div><div><a href=3D=
"https://wayland.freedesktop.org/libinput/doc/latest/timestamps.html">https=
://wayland.freedesktop.org/libinput/doc/latest/timestamps.html</a></div><di=
v><br></div><div>The above link suggests some events are delivered out of o=
rder<br></div></div></div>

--0000000000009bb9b305dfb19370--

--===============5270522800319246813==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list

--===============5270522800319246813==--