← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2109385] Re: Nautilus loses keyboard selection when opening a directory with a single item (Ubuntu 24.04)

 

Duplicates of this bug:
Bug #2066062
Bug #2075975
Bug #2077215

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/2109385

Title:
  Nautilus loses keyboard selection when opening a directory with a
  single item (Ubuntu 24.04)

Status in nautilus package in Ubuntu:
  Fix Released
Status in nautilus source package in Noble:
  Confirmed

Bug description:
  **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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/2109385/+subscriptions