From 3997cdf2f4685edab00800ee50a8a52cca4ec388 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nelson=20Ben=C3=ADtez=20Le=C3=B3n?= Date: Tue, 31 Mar 2020 19:58:00 -0400 Subject: [PATCH] gtkfilechooserwidget: set 'New folder' button focus-on-click As general rule, all buttons that launch a menu should not grab focus on click, because otherwise when the menu is closed the focus goes back to the button instead of the previously focused widget, which is the one the user was interacting with. So this is also the case for the 'New Folder' button on the filechooser. Fixes #2557 --- gtk/ui/gtkfilechooserwidget.ui | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/ui/gtkfilechooserwidget.ui b/gtk/ui/gtkfilechooserwidget.ui index c1b4b43d50..01d4075f6c 100644 --- a/gtk/ui/gtkfilechooserwidget.ui +++ b/gtk/ui/gtkfilechooserwidget.ui @@ -68,6 +68,7 @@ Create Folder 1 + 0 new_folder_popover