Skip to content

[Bug] It's not possible to switch focus between the buttons on the delete dialog with the arrow keys #1990

Description

@bobcat141

Describe the bug

When a dialog box is opened to permanently delete a file, it's not possible to navigate from a focused button to a nearby unfocused button with the arrow keys, only with the tab key.

When navigating the files using the arrow keys with the dialog open, the scroll also seems to be defective, as the previously hidden files remain invisible, as can be seen in the evidence video below.

To Reproduce

  1. Open COSMIC Files.
  2. Press shift+delete to permanently delete a file.
  3. Press left to focus "cancel".
  4. Notice this will change the focused file instead.

Expected behavior

It should be possible to change the focus in-between the buttons using the arrow keys.

Evidence

Video evidence

Behavior on COSMIC Files:

evidence.webm

Behavior on Thunar, for comparison:

comparison.mp4

Desktop (please complete the following information):

  • OS: Pop!_OS 24.04
  • Package version: cosmic-files/noble,now 1.5.0~1786455995~24.04~5bdfffa

EDIT: after posting, I've realized the same issue happens to the shut down/restart system dialogs, so maybe it's a libcosmic issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions