Widget loses focus when pressing the Super key on GNOME 42 and X11

,

Hi! I have a Gtk.Button and when it has focus, it handles keypress events. For this I use Gtk.EventControllerKey. On Wayland and on X11 + GNOME < 42 everything works fine, but on X11 + GNOME 42 there is an issue: the button loses focus when pressing the Super key. Is it a known bug and/or is there any workaround of this issue?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.