gnome-shell/js
Carlos Garnacho c13d44439f popupMenu: Avoid intermediate focus changes on menu switch
Currently when switching from a popup menu to another in the same
manager, we first show the new menu, then hide the old menu and
remove its grab, then create a new grab for the just shown menu.

This briefly ungrabbed moment will still trigger keyboard focus
changes, that might have other visible effects. In order to fix
this, change the grabbing order so first the new grab is created
then the old one is dismissed. This ensures focus moves from the
old menu to the new menu without gaps in between.

Since a grab is tied to an active menu, but close/grab are now
slightly decoupled, also ensure closing a menu only tears down its
own grab. This is necessary for correct accounting while doing the
grab shuffling.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5039
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2166>
2022-02-09 16:44:08 +00:00
..
dbusServices dbusServices/screencast: Removed unused properties 2022-02-09 13:00:04 +01:00
gdm js: Change main.pushModal to return the Clutter.Grab handle 2022-01-29 01:16:30 +01:00
misc util: Restore the NOFILE limit before spawning apps 2022-02-08 08:25:25 +00:00
perf perf: Add basic run tests 2020-08-12 15:43:39 +00:00
portalHelper portalHelper: Replace Soup.URI with GLib.Uri 2021-08-25 01:54:07 +02:00
ui popupMenu: Avoid intermediate focus changes on menu switch 2022-02-09 16:44:08 +00:00
js-resources.gresource.xml gdm: Add AuthList control 2022-01-13 15:03:02 -05:00
meson.build extensions-app: Move Extensions app to new subproject 2020-03-27 23:33:30 +00:00
portal-resources.gresource.xml