Skip to content

File search does not select the first search result by default #1967

@leo-060

Description

@leo-060

Compositor

Niri

Distribution

Arch Linux

If Other, please specify

No response

Select your Installation Method

DankInstaller

Was this your original Installation method?

Yes

If no, specify

No response

dms doctor -vC

Click to expand ## DMS Doctor Report

System

  • [ok] Operating System: EndeavourOS
    • ID: endeavouros, Version: 2025.03.19, Arch: amd64
  • [ok] Architecture: amd64
  • [ok] Display Server: Wayland
    • WAYLAND_DISPLAY=wayland-1

Versions

  • [ok] DMS CLI: dms v1.4.3
    • /usr/bin/dms
  • [warn] Quickshell: quickshell 0.2.1, revision , distributed by: Arch Linux
    • /usr/bin/qs
  • [ok] DMS Shell: v1.4.3
    • /usr/share/quickshell/dms

Installation

  • [ok] DMS Configuration: Found
    • /usr/share/quickshell/dms
  • [ok] shell.qml: Present
    • /usr/share/quickshell/dms/shell.qml
  • [info] Install Type: System package
    • /usr/share/quickshell/dms

Compositor

  • [ok] niri: 25.11
    • /usr/bin/niri
  • [info] Active: niri

Quickshell Features

  • [info] Polkit: Not available
    • Authentication prompts
  • [info] IdleMonitor: Not available
    • Idle detection
  • [info] IdleInhibitor: Not available
    • Prevent idle/sleep
  • [info] ShortcutInhibitor: Not available
    • Allow shortcut management (niri)

Optional Features

  • [ok] accountsservice: Available
    • User accounts
  • [ok] power-profiles-daemon: Available
    • Power profile management
  • [ok] logind: Available
    • Session management
  • [warn] cups-pk-helper: Not available (install cups-pk-helper)
    • Printer management
  • [info] I2C/DDC: No monitors detected
    • External monitor brightness control
  • [ok] qt6-imageformats: Installed (5 formats)
    • Formats: WebP, TIFF, GIF, JP2, ICNS (/usr/lib/qt6/plugins/imageformats:/usr/lib64/qt6/plugins/imageformats)
  • [ok] kimageformats: Installed (4 formats)
    • Formats: AVIF, HEIF, JXL, EXR (/usr/lib/qt6/plugins/imageformats:/usr/lib64/qt6/plugins/imageformats)
  • [ok] Terminal: kitty
  • [ok] Network: NetworkManager
    • NetworkManager present. Using NM API.
  • [ok] matugen: Installed
    • Dynamic theming
  • [ok] dgop: Installed
    • System monitoring
  • [ok] cava: Installed
    • Audio visualizer
  • [info] khal: Not installed
    • Calendar events
  • [ok] danksearch: Installed
    • File search
  • [ok] fprintd: Installed
    • Fingerprint auth

Config Files

  • [ok] settings.json: Present
    • /home/leo/.config/DankMaterialShell/settings.json
  • [info] clsettings.json: Not yet created
    • /home/leo/.config/DankMaterialShell/clsettings.json
  • [ok] plugin_settings.json: Present
    • /home/leo/.config/DankMaterialShell/plugin_settings.json
  • [ok] session.json: Present
    • /home/leo/.local/state/DankMaterialShell/session.json
  • [ok] dms-colors.json: Present
    • /home/leo/.cache/DankMaterialShell/dms-colors.json

Services

  • [ok] dms.service: enabled, active
  • [info] greetd: Not installed
    • Optional greeter service

Environment

  • [info] QT_QPA_PLATFORMTHEME: kde
  • [info] QS_ICON_THEME: Not set

Summary: 0 error(s), 2 warning(s), 25 ok

Description

Not sure if it is a bug or not, but when I search for files using the spotlight launcher, the first entry does not get automatically selected. This is not the same as searching for applications, where the first application entry does get selected. I want the first file entry to be selected automatically so I can press enter to open the file immediately.

Expected Behavior

No response

Steps to Reproduce

  1. activate the spotlight launcher
  2. press / to enter file search mode
  3. enter some keywords to search for a file
  4. file search returns some entries, but the first one is not selected automatically, pressing enter does nothing
  5. I need to press the down arrow key to select the first entry, then press enter to open the file

Error Messages/Logs

No response

Screenshots/Recordings

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions