Gtk4 EventController GestureClick returns incorrect state- Gdk.ModifierType on mouse button press in X11

Bug #1975544 reported by Sundeep
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gjs (Ubuntu)
New
Undecided
Unassigned

Bug Description

Getting modifier state from event controller gesture click gives an error in Ubuntu 22.04 on X11.

It seems it returns with the 4 bit set, which is not legal?

The entire bug is reported in Gnome Discourse here- https://discourse.gnome.org/t/gtk4-eventcontroller-gestureclick-returns-incorrect-state-gdk-modifiertype-on-mouse-button-press-in-x11/9710 with an example program that triggers the bug.

This bug does not exist in the latest version of Manjaro, and I presume archlinux. Fedora also seems to have the same bug.

Revision history for this message
Sundeep (smedius) wrote :

Appears to be a bug in GJS, reported upstream here https://gitlab.gnome.org/GNOME/gjs/-/issues/507

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.