GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Please add a keyboard shortcut (Ctrl + Enter) for saving and closing the sort/filter dialog · Issue #7167 · pgadmin-org/pgadmin4

Please add a keyboard shortcut (Ctrl + Enter) for saving and closing the sort/filter dialog #7167

New issue
Copy link
New issue
Copy link
Done
#10855
Done
Please add a keyboard shortcut (Ctrl + Enter) for saving and closing the sort/filter dialog#7167
#10855
Copy link
Assignees
dpage
Labels
Feature

Description

@stefansundin
stefansundin
opened on Jan 30, 2024
Issue body actions

Describe the solution you'd like

I would love a way to save and close the sort/filter dialog without having to use the mouse cursor. I usually try to hit just the Enter key but that creates a newline in the filter input field.

The sort/filter dialog can be opened with a keyboard shortcut, so we should also be able to save and close it with a keyboard shortcut too.

On Windows/Linux the shortcut that would work the best is probably Ctrl+Enter. On macOS the equivalent shortcut would be Cmd+Enter.

There are probably more dialogs that would benefit from this, so if this could be a general way to save and close most dialogs, that would be great.

Describe alternatives you've considered

N/A

Additional context

Screenshot 2024-01-30 at 10 23 16

Activity

Next
  1. stefansundin
    added
    Feature
    on Jan 30, 2024
  2. akshay-joshi
    added this to Not Refinedon Jan 31, 2024
  3. yogeshmahajan-1903
    added this to Ready for Sprint Features and removed this from Not Refinedon Feb 2, 2024
  4. florian-sabonchi commented on Mar 8, 2024

    @florian-sabonchi
    florian-sabonchi
    on Mar 8, 2024
    Contributor
    More actions

    Hello someone working on it?

  5. florian-sabonchi commented on Mar 8, 2024

    @florian-sabonchi
    florian-sabonchi
    on Mar 8, 2024
    Contributor
    More actions

    This ist for PGAdmin Web?

  6. adityatoshniwal commented on Mar 8, 2024

    @adityatoshniwal
    adityatoshniwal
    on Mar 8, 2024
    Contributor
    More actions

    This ist for PGAdmin Web?

    The issue is for pgAdmin project so yes.

  7. adityatoshniwal commented on Mar 8, 2024

    @adityatoshniwal
    adityatoshniwal
    on Mar 8, 2024
    Contributor
    More actions

    Hello someone working on it?

    In general, if there is no assignee then it means no one is working on it.

  8. florian-sabonchi commented on Mar 8, 2024

    @florian-sabonchi
    florian-sabonchi
    on Mar 8, 2024
    Contributor
    More actions

    Hello someone working on it?

    In general, if there is no assignee then it means no one is working on it.

    Okay, Thanks I want to avoid already someone working on it

  9. florian-sabonchi commented on Mar 8, 2024

    @florian-sabonchi
    florian-sabonchi
    on Mar 8, 2024
    Contributor
    More actions

    You can assign me, I can look on it these day's

    Reacted by Aditya Toshniwal
  10. adityatoshniwal
    assigned
    florian-sabonchi
    on Mar 11, 2024
  11. florian-sabonchi
    removed their assignment
    on Mar 20, 2024
  12. stefansundin commented on Jan 23, 2025

    @stefansundin
    stefansundin
    on Jan 23, 2025
    Author
    More actions

    This issue is a bit stale so I am thinking of closing it as I'm cleaning up my old open issues and PRs. If this is going to be worked on then I can keep the issue open, but if not then I'll close this in a few weeks.

  13. adityatoshniwal commented on Jan 24, 2025

    @adityatoshniwal
    adityatoshniwal
    on Jan 24, 2025
    Contributor
    More actions

    This issue is a bit stale so I am thinking of closing it as I'm cleaning up my old open issues and PRs. If this is going to be worked on then I can keep the issue open, but if not then I'll close this in a few weeks.

    Someone might work on this someday. But the exact timeline cannot be guaranteed as it depends on the priority of all the issues.

  14. akshay-joshi commented on Jun 17, 2025

    @akshay-joshi
    akshay-joshi
    on Jun 17, 2025
    Contributor
    More actions

    @florian-sabonchi,

    Would you be interested in working on this?

  15. 5 remaining items

  16. dpage
    added 4 commits that reference this issue on Sep 23, 2026

    Keyboard shortcut improvements across tabs, the SQL editor and dialogs.

    This issue will close once commit f9986cc is merged into the 'master' branch.
    f9986cc

    Close the dialog after a successful Ctrl/Cmd+Enter save

    This issue will close once commit 447d7fc is merged into the 'master' branch.
    447d7fc

    Keyboard shortcut improvements across tabs, the SQL editor and dialogs.

    This issue will close once commit e4138f3 is merged into the 'master' branch.
    e4138f3

    Close the dialog after a successful Ctrl/Cmd+Enter save

    This issue will close once commit 6ca950e is merged into the 'master' branch.
    6ca950e
  17. dpage
    added a commit that references this issue on Oct 12, 2026

    Improve keyboard shortcuts for tab switching, line duplication in the…

    e5b6728
  18. dpage commented on Oct 12, 2026

    @dpage
    dpage
    on Oct 12, 2026
    Contributor
    More actions

    Fixed in e5b6728 (#10067).

  19. dpage
    closed this as completedon Oct 12, 2026
  20. github-project-automation
    moved this to Done in Ready for Sprint Featureson Oct 12, 2026
  21. VIBVEL47 commented on Oct 29, 2026

    @VIBVEL47
    VIBVEL47
    on Oct 29, 2026
    Contributor
    More actions

    Reopening: Ctrl/Cmd+Enter now saves and closes dialogs including Sort/Filter, but when focus is inside a SQL editor field the editor first inserts a newline, and that newline is saved.

    Steps: table > View/Edit Data > All Rows > Sort/Filter, leave SQL Filter empty, click into it and press Cmd+Enter (Ctrl+Enter on Windows/Linux).
    Expected: the dialog closes with no filter.
    Actual: "syntax error at end of input" (the saved filter is "\n"). The same key in a function's Code field adds a trailing newline to the body.

    Cause: the shared editor keeps CodeMirror's default Mod-Enter → insertBlankLine (web/pgadmin/static/js/components/ReactCodeMirror/components/Editor.jsx:284), and the dialog's Ctrl/Cmd+Enter handler (web/pgadmin/static/js/SchemaView/SchemaDialogView.jsx:194) saves without checking e.defaultPrevented.

    Minor: the shortcut also submits an unchanged Sort/Filter while its Save button is disabled (in 'create' mode the change list is never empty; SchemaDialogView.jsx:131-135).

    Tested on 9.19 (062099a), server mode.

  22. VIBVEL47
    reopened this on Oct 29, 2026
  23. dpage
    self-assigned this
    on Nov 26, 2026
  24. github-project-automation
    moved this from Done to Todo in Ready for Sprint Featureson Nov 26, 2026
  25. dpage
    closed this as completedin #10855on Nov 27, 2026
  26. github-project-automation
    moved this from Todo to Done in Ready for Sprint Featureson Nov 27, 2026
  27. dpage
    added a commit that references this issue on Nov 27, 2026

    Stop Ctrl/Cmd+Enter adding a newline to a SQL field before a dialog s…

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

Metadata

Metadata

Assignees

  • @dpage
    dpage

Labels

Feature

Type

No type

Projects

  • Ready for Sprint Features
    Status
    Done
    Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.