[Wayland-bugs] [Bug 771802] User account avatar menu appears in wrong position under Wayland when I use touchscreen

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Tue Mar 21 03:41:22 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=771802

Jonas Ådahl <jadahl at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carlosg at gnome.org

--- Comment #7 from Jonas Ådahl <jadahl at gmail.com> ---
Ugh, right, this is about touch. What seems to be biting us is that touch is
emulated as pointer clicks in gtk+, so the popup code assumes that it can pass
around a pointer thinking it makes sense. Then, when that pointer eventually is
used to figure out the window under it, if the *real* pointer might very well
be somewhere completely else than the touch-down.

You can for example "work around" the issue by moving the pointer to be above
the gnome-control-center window, then touch the avatar. When gdk eventually
uses the pointer to guess the parent, it finds the correct one by accident.

For GTK4, I'd say we should get rid of any touch-emulated-as-mouse code, but
for GTK3, I wonder how much better we can do. Maybe we can change the guessing
code to check the latest implicit grab on the seat and check if it was an
emulated pointer click or something.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170321/4d28e8de/attachment-0001.html>


More information about the wayland-bugs mailing list