Public bug reported:
**Description:**
When using Nautilus (Gnome Files) in Ubuntu 24.04, if the user navigates via
keyboard into a directory that contains exactly one file or folder, the
selection is lost. This makes it impossible to interact with the item using the
Enter key or arrow keys, effectively breaking keyboard navigation. The only
workaround is to manually press "Tab" to focus the single item.
This issue does not occur in:
- Ubuntu 22.04
- Ubuntu 24.10
- Ubuntu 25.04
**Steps to Reproduce:**
1. Open Nautilus.
2. Navigate to a directory that contains exactly one file or folder.
3. Use the keyboard (arrow keys + Enter) to open that directory.
4. Observe that no item is selected.
**Expected Behavior:**
The single item should automatically be selected, allowing continued navigation
with keyboard shortcuts.
**Actual Behavior:**
The selection is lost, and no item is focused. The Enter key and arrow keys do
not function unless "Tab" is pressed first.
**Environment:**
- OS: Ubuntu 24.04
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: nautilus 1:46.2-0ubuntu0.3
ProcVersionSignature: Ubuntu 6.11.0-24.24~24.04.1-generic 6.11.11
Uname: Linux 6.11.0-24-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 25 19:13:15 2025
GsettingsChanges:
b'org.gnome.nautilus.list-view' b'default-zoom-level' b"'small'"
b'org.gnome.nautilus.preferences' b'default-folder-viewer' b"'list-view'"
b'org.gnome.nautilus.preferences' b'fts-enabled' b'false'
b'org.gnome.nautilus.preferences' b'migrated-gtk-settings' b'true'
b'org.gnome.nautilus.window-state' b'initial-size' b'(1016, 740)'
InstallationDate: Installed on 2025-04-23 (3 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_nautilus:
file-roller 44.3-0ubuntu1
nautilus-extension-gnome-terminal 3.52.0-1ubuntu2
** Affects: nautilus (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug noble wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2109385
Title:
Nautilus loses keyboard selection when opening a directory with a
single item (Ubuntu 24.04)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/2109385/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs