pgadmin-org / pgadmin-org/pgadmin4

Browser default keyboard shortcut for tab change does not works for PSQL tool, Query tool, ERD tool, Schema diff if cursor focus is within the tab.

Open
#7,232 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
Dominant language
Python
Stars
3.8k
Forks
891
Avg merge
4d 7h
Merged PRs (30d)
8

Description

Please note that security bugs or issues should be reported to security@pgadmin.org.

Describe the bug

If we try to use default keyboard shortcut for tab change when the cursor focus is with the tab for PSQL tool, Query tool, ERD tool, Schema diff, it does not works.

The same works when we assign some other shortcuts for tab change like Ctrl+], Ctrl+[.

For PSQL tool, on use of default keyboard shortcut it enters “, ‘ these characters.

FYI, the default keyboard shortcut works if the cursor focus is on tab button.

Expected behavior

It should work.

Error message

If possible, include the full, unedited text of any error messages displayed.

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: macOs ventura
  • Version: 8.3
  • Mode: Desktop
  • Browser (if running in server mode): [e.g. chrome, safari]
  • Package type: arm64

Additional context
We can use ESC key to go to parent and from there we can change tab.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the shortcut behavior with the cursor focused inside the PSQL, Query, ERD, and Schema diff tabs in desktop mode on macOS. Trace the default tab-change shortcut handling from those tools and compare it with the working behavior when focus is on the tab button or when Ctrl+] and Ctrl+[ are assigned. Done means the default shortcut changes tabs without inserting characters in each listed tool.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, python
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.