You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As commented by @robpoyntz here, Ctrl+Enter can no longer be used to execute queries the same way it was until pgAdmin 8.2 or 8.3. This issue looks unrelated to query formatting hence this separate report.
There are 3 arguments to be made in favor of restoring:
It used to work fine.
Some of us out there work on other DBs too, with other clients where Ctrl+Enter was the default shortcut to execute queries (e.g. SSMS) and it is very uncomfortable to switch between applications when such an important shortcut cannot be the same. I understand you may not want to be tied to choices made in other software but it is a choice your users have already made.
Finally and perhaps more importantly, the problem exists in the first place because pgAdmin does provide an option where the key binding can be set to Ctrl+Enter (Preferences > Query Tool > Keyboard shortcuts > Execute script). BTW, this is the setting you will need to alter to reproduce the bug.
Expected behavior
The expected behavior is what it used to be: execute the selection portion of text from the editor. The behavior now is: Insert a line break + execute the entire text of the editor.
I am not completely sure shortcuts for the Sort/Filter option dialog would collide with shortcuts for the query tool window, precisely because they are separate windows, but the shortcut to display it (Alt+F by default) is shown in the same portion of the preferences as above: Preferences > Query Tool > Keyboard shortcuts > Accesskey (Filter dialog).
The text was updated successfully, but these errors were encountered:
Fix query tool autocomplete results when cursor is in between the SQL query. #7299
Fix an issue in query tool where custom keyboard shortcuts are not working for some. #7305
Linked to 7268
Describe the bug
As commented by @robpoyntz here, Ctrl+Enter can no longer be used to execute queries the same way it was until pgAdmin 8.2 or 8.3.
This issue looks unrelated to query formatting hence this separate report.
There are 3 arguments to be made in favor of restoring:
I understand you may not want to be tied to choices made in other software but it is a choice your users have already made.
Preferences > Query Tool > Keyboard shortcuts > Execute script
).BTW, this is the setting you will need to alter to reproduce the bug.
Expected behavior
The expected behavior is what it used to be: execute the selection portion of text from the editor.
The behavior now is: Insert a line break + execute the entire text of the editor.
Desktop:
Additional context
Query 7167 may come in conflict with this one.
I am not completely sure shortcuts for the Sort/Filter option dialog would collide with shortcuts for the query tool window, precisely because they are separate windows, but the shortcut to display it (Alt+F by default) is shown in the same portion of the preferences as above:
Preferences > Query Tool > Keyboard shortcuts > Accesskey (Filter dialog)
.The text was updated successfully, but these errors were encountered: