Re: With set_event_compression, most recent motion event is held in waiting
JLM via gtkmm-list <[email protected]> Tue, 24 May 2022 01:40:01 +0000
| Newsgroups | gmane.comp.gnome.gtkmm |
|---|---|
| Message-ID | <[email protected]> |
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============4268939614761035867== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="------2dc7133419a9c176a2e89d3b59c96cd24be7b8622088cb721682ca0a2f84fc18"; charset=utf-8 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------2dc7133419a9c176a2e89d3b59c96cd24be7b8622088cb721682ca0a2f84fc18 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Message-ID: <[email protected]> Subject: Re: With set_event_compression, most recent motion event is held in waiting From: JLM <[email protected]> To: "[email protected]" <[email protected]> Date: Mon, 23 May 2022 21:39:57 -0400 In-Reply-To: <[email protected]> References: <[email protected]> <[email protected]> <[email protected]> <CABgWb1KsHNnXQHoPt-FbqJWvoz6ckipF0kEFuD8QwuUTtrgemA@mail.gmail.com> <CClR8Ep0amrcWsnVnev6zwof5dpvLGHD-EEGMXhqhHtnEK9Mzx8HVH97fsGWRdezAxsQiTBYkKBp_zI2yZdMCg==@protonmail.internalid> <[email protected]> User-Agent: Evolution 3.44.1 MIME-Version: 1.0 I have managed to cobble together a program in C which does the same thing and confirmed that it is not a specific GTKMM problem at least. On Tue, 2022-05-24 at 00:20 +0000, JLM via gtkmm-list wrote: > Thanks. I took a look at the web page and I'm pretty sure that the > described behavior is not what I am observing. >=20 > For example, I move my mouse around within the DrawingArea, and in > the > console output I see this (truncated, just showing the end): >=20 > 2109 649877100 motion 90.9368:79.8589 > 2110 649877101 motion 90.9368:81.137 > 2111 649877110 motion 89.6931:82.3807 > 2112 649877120 motion 88.6931:82.3807 > 2113 649877129 motion 88.6931:83.3807 > 2114 649877144 motion 87.6987:83.3807 > 2115 649877176 motion 87.6987:84.17 > 2116 649877191 motion 86.9109:84.17 >=20 > Then I wait a few seconds and press a key and see: >=20 > 2117 649877194 motion 86.9109:85.1639 > 2118 649887986 key pressed >=20 > The timestamp of event 2117 is just right after event 2116, but did > not > display until I pressed the key. It was recorded, but for some reason > the program itself did not receive it (or I made some mistake, and my > program is caching things somehow). >=20 >=20 > On Mon, 2022-05-23 at 10:57 -0700, Andrew Potter via gtkmm-list > wrote: > >=20 > > 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. > > >=20 > >=20 > >=20 > > The issue is probably even lower than GTK. Maybe libinput? Did you > > look at the timestamp of the events? > >=20 > > https://wayland.freedesktop.org/libinput/doc/latest/timestamps.html > >=20 > > The above link suggests some events are delivered out of order >=20 > _______________________________________________ > gtkmm-list mailing list > [email protected] > https://mail.gnome.org/mailman/listinfo/gtkmm-list --------2dc7133419a9c176a2e89d3b59c96cd24be7b8622088cb721682ca0a2f84fc18 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBzBAEBCAAnBQJijDdwCZCRLah6OSFOThYhBE0p+kJR+uVpGr6LC5EtqHo5 IU5OAABehgf9EWZFj10J6ryXnkv44Cvn7Pbyla9KaPd5JSXR2x9b9TLOMBkN iLev5qvXPyFtmj8CQf5TX5o/EtWnEF2KKpv+dIXwoP/E7xfKkck0FWYiFxhV AUtuhRZZzq+NsIj+fggQbk1vGchlv4RhKyXjs38mrOoWrYqulbQAJ+81253z 58eq6deRW0YMzTcbQlWqrz4XPMKyCOQl5p6iCO4aF4B7PiGWkorN0kuOcSL9 7+4nBuOXin4qDom1p3U7UTNVBw7S4JF37dY6iFx6N76qjW6otIlZUaHJ5jwF rZzgDEiX9rv7AxWzURU+vgSgunl0zaTEkOVgoGsjn5ZahHZ/OWfjXg== =Bnnq -----END PGP SIGNATURE----- --------2dc7133419a9c176a2e89d3b59c96cd24be7b8622088cb721682ca0a2f84fc18-- --===============4268939614761035867== 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 --===============4268939614761035867==--