I have tested the package from the noble-proposed repository (libgtk-4-1=4.14.5+ds-0ubuntu0.1) on Ubuntu 24.04, and I can confirm that the bug is resolved.
After installing the updated GTK4 package, I followed the test plan steps: navigating into a folder containing only one item using the keyboard now correctly highlights the item and allows it to be opened with the Enter key. Everything works as expected, and I did not observe any regressions. Thanks to everyone involved in fixing this issue! -- You received this bug notification because you are a member of Debcrafters packages, which is subscribed to gtk4 in Ubuntu. https://bugs.launchpad.net/bugs/2066062 Title: Impossible to select item using keyboard if folder has only one item Status in Nautilus: Fix Released Status in gtk4 package in Ubuntu: Fix Released Status in nautilus package in Ubuntu: Won't Fix Status in gtk4 source package in Noble: Fix Committed Status in gtk4 source package in Oracular: Won't Fix Bug description: [ Impact ] If folder opened in Nautilus contains only one item (file or folder), it is impossible to select such item using a keyboard (arrow keys, without using mouse pointer). This is caused by a GTK4 bug which affects only or mostly Nautilus. This is a big problem for visually impaired users. Here is an upstream ticket and the mentioned fix: https://gitlab.gnome.org/GNOME/nautilus/-/issues/3078 https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6354 [ Test Plan ] 1. In a terminal, run $ mkdir ~/test-folder $ touch ~/test-folder/foo 2. Open Files (nautilus) 3. With the keyboard arrows, highlight the "test-folder" directory 4. Press Enter to navigate into the directory 5. Press any keyboard arrow 6. Verify that the "foo" file is highlighted 7. Click Enter to invoke on action on the file 8. Verify that the file opened in your text editor [ Regression Test Plan ] 1. Open Settings (gnome-control-center) 2. Navigate to System > Date & Time 3. Disable "Automatic Time Zone" 4. Click "Time Zone" 5. Verify that you're able to navigate the list of timezones with the keyboard arrows. [ Where problems could occur ] The patch impacts navigating the following Gtk4 widgets with the keyboard: * GtkListView * GtkGridView * GtkColumnView A problem may manifest as broken keyboard navigation in GTK4 applications that use one of those widgets. The Regression Test Plan verifies that at least one other application using GtkListView does not regress. To manage notifications about this bug go to: https://bugs.launchpad.net/nautilus/+bug/2066062/+subscriptions -- Mailing list: https://launchpad.net/~debcrafters-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~debcrafters-packages More help : https://help.launchpad.net/ListHelp

