After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 783957 - [Firefox] gdk_device_grab() on popup drags focus from main app window on Wayland/mutter
[Firefox] gdk_device_grab() on popup drags focus from main app window on Wayl...
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Backend: Wayland
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2017-06-19 12:10 UTC by Martin Stransky
Modified: 2018-05-02 18:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
testcase by Olivier Fourdan (5.71 KB, text/x-csrc)
2017-06-19 12:10 UTC, Martin Stransky
Details

Description Martin Stransky 2017-06-19 12:10:31 UTC
Created attachment 354036 [details]
testcase by  Olivier Fourdan

Downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=1260773

When created new popup and called gdk_device_grab() on it (or the new gdk_seat_grab) keyboard focus is taken from main app window. The keyboard was not requested on drag - only the point devices.

See the testcase provided by Olivier. Reproductible on Fedora 25/26, gtk3-3.22.15-2.fc26.x86_64, gnome-shell/mutter. When tested on Weston the focus *is not* transferred.
Comment 1 GNOME Infrastructure Team 2018-05-02 18:35:33 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/837.