From 9569239ec5e774f59bb973adb34196b984c50e85 Mon Sep 17 00:00:00 2001 From: sorelz Date: Tue, 2 Jul 2024 16:17:35 -0400 Subject: [PATCH] appDisplay: Use AppFolderDialog grabHelper to obtain key focus on popup() When an app folder is opened it would do so without grabbing the keyboard focus, so one could not navigate with the arrow keys without pressing Tab. This adds the focus parameter to popup()'s grab, which sets the key focus to the elements of the folder when it is opened. 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 b3946cd66..0ca36bb5d 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -2899,6 +2899,7 @@ export const AppFolderDialog = GObject.registerClass({ this._isOpen = this._grabHelper.grab({ actor: this, + focus: this._editButton, onUngrab: () => this.popdown(), });