appDisplay: Use navigate_focus() to keep focus after editing app folder title

The AppFolderDialog would lose keyboard focus after editing the title
(likely due to the folder entry grabbing key focus). This commit adds
navigate_focus() to _showFolderLabel() to send key focus back to the
dialog's elements after editing the title.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3338>
This commit is contained in:
sorelz 2024-07-01 19:52:33 -04:00
parent 3061589610
commit a04b35b569

View File

@ -2661,6 +2661,7 @@ export const AppFolderDialog = GObject.registerClass({
this._maybeUpdateFolderName();
this._switchActor(this._entry, this._folderNameLabel);
this.navigate_focus(this, St.DirectionType.TAB_FORWARD, false);
}
_showFolderEntry() {