From a04b35b569e9e5c6237dd6c82bbdfa253d6bd4a3 Mon Sep 17 00:00:00 2001 From: sorelz Date: Mon, 1 Jul 2024 19:52:33 -0400 Subject: [PATCH] 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: --- js/ui/appDisplay.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 9b352e618..b3946cd66 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -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() {