Skip to content

Dialogs won't close on Escape key #9489

Closed

Description

@bugith

What happened?

Some dialogs don’t close on the same action. Namely all dialogs close always OK on click-outside, but never close none of them on Esc key once another tab is selected, unless we click anywhere in it before (that is, an other way to say the same : Escape key works everywhere but just after we select another tab in dialogs). It is like the dialog looses focus on opening new tab. Although this focus loose seems to affect the Esc key only because then hitting Tab rises the focus to the next object (input field, link image…) in the dialog and then Esc works again. Guessed? I’m a keyboard fan, not a friend of rodents, so I’d like we get an homogeneous way everywhere with… Esc.

I seems dialogs are created with a default closeOnEsc attribute, but the tabs are not.

Syncthing version

v1.27.5-rc.2

Platform & operating system

Linux

Browser version

Firefox 124

Relevant log output

No response

Activity

  1. added
    bug
    needs-triage
    on Apr 1, 2024
  2. added
    enhancement
    ui
    and removed
    bug
    needs-triage
    on Apr 1, 2024
  3. hazemkrimi commented on May 1, 2025

    @hazemkrimi
    Contributor

    I confirm this is a bug and will take over it.

  4. added a commit that references this issue on May 2, 2025
    dcc4228
  5. marbens-arch commented on May 2, 2025

    @marbens-arch
  6. hazemkrimi commented on May 2, 2025

    @hazemkrimi
  7. added a commit that references this issue on May 2, 2025
    a16bf55
  8. bugith commented on May 5, 2025

    @bugith
    Author

    Great 🥇

  9. added a commit that references this issue on May 6, 2025
    70bb445
  10. added this to the v1.29.7 milestone on May 21, 2025
  11. added a commit that references this issue on May 26, 2025
    e065eee
  12. added a commit that references this issue on Jun 8, 2025
    8b3462a
  13. added
    frozen-due-to-age
    on Jul 1, 2026
  14. locked and limited conversation to collaborators on Jul 1, 2026
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

    enhancementfrozen-due-to-ageui

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions