Skip to content

Pressing enter in file open dialog opens wrong file #3492

@karliss

Description

@karliss

Environment information

  • Operating System: Linux
  • Cutter version: 2.4.0
  • Obtained from:
    • Built from source
    • Downloaded release from Cutter website or GitHub
    • Distribution repository
  • File format: N/A

Describe the bug

Pressing enter in the initial file open dialog opens last clicked file instead of the one with current focus.

To Reproduce

  • Open a couple of files in cutter to fill recent file history, lets call them A, B, C
  • Start cutter
  • Click on A in recent file list, observe that text input at the top gets set to A
  • use keyboard to select B in recent file list
  • press enter

Expected behavior

File B get's opened.

Actual behavior

File A get's opened.

Screenshots

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions