GeezerVison is showing github.com — 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. · Issue #7232 · 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. #7232DescriptionPlease note that security bugs or issues should be reported to [email protected].
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. Activityadded 2 commits that reference this issue on Aug 17, 2026This issue will close once commit 581cd11 is merged into the 'master' branch.581cd11 This issue will close once commit 0b0fc32 is merged into the 'master' branch.0b0fc32 added a commit that references this issue on Aug 25, 2026This issue will close once commit 18a21fa is merged into the 'master' branch.18a21fa added 2 commits that reference this issue on Sep 23, 2026This issue will close once commit f9986cc is merged into the 'master' branch.f9986cc This issue will close once commit e4138f3 is merged into the 'master' branch.e4138f3 dpage commented on Oct 12, 2026 VIBVEL47 commented on Oct 29, 2026 Reopening: on 9.19 (062099a, server mode, workspace layout) the tab-switch shortcut (Ctrl+Alt+PageUp/PageDown) works with focus inside the Query Tool and ERD in the Default workspace, but not in Schema Diff, which opens in its own workspace.
Steps: open two Query Tool tabs (Default workspace), then Tools > Schema Diff twice. In the Schema Diff workspace, click the first Schema Diff tab and press Ctrl+Alt+PageDown.
Expected: the second Schema Diff tab becomes active.
Actual: nothing changes in Schema Diff, and the active tab of the hidden Default workspace moves instead.
Cause: web/pgadmin/browser/static/js/keyboard.js:176 uses rootDock.querySelector('.dock-layout'), which always returns the first top-level dock layout (the Default workspace's), even while another workspace is shown. Before e5b6728 the code used currDockTab.closest('.dock-layout'), so with focus on a tab button in a non-default workspace this is also a regression. PSQL not tested (ENABLE_PSQL off).
MetadataMetadataStatusShow more project fields
DevelopmentNo branches or pull requestsIssue actions
|