How to get rid of the "F9" key ?

26 views
Skip to first unread message

Vitaly

unread,
Dec 1, 2021, 12:33:32 PM12/1/21
to SQL Workbench/J - DBMS independent SQL tool
Hello,

I am using the tool under Linux, Build 128 (2021-11-01 17:46), jdk-11.0.10+9

It seems that the F9 key is hardcoded to action "Execute Selected". However, the "Configure shortcuts" screen shows another shortcut:

shortcuts1.png

In my config Win+F9 is reserved globally by another app, and so it really annoys me. The tool triggers execution of everything on the current tab.

As a workaround, I was trying to assing the "F9" to any other action, like "About...". It does not work. There is an exception in the log:

java.lang.NullPointerException
at workbench.gui.settings.ShortcutEditor.findKey(ShortcutEditor.java:517)
at workbench.gui.settings.ShortcutEditor.assignKey(ShortcutEditor.java:438)
at workbench.gui.settings.ShortcutEditor.actionPerformed(ShortcutEditor.java:330)

Any ideas?

Regards,
Vitaly

Thomas Kellerer

unread,
Dec 2, 2021, 12:08:51 PM12/2/21
to sql-wo...@googlegroups.com
Hi,

yes, you are right, the dialog should also display and allow the configuration of the alternate key.

Currently there is no way to remove this mapping for F9 (unless you want to compile your own version).

Regards
Thomas


Vitaly schrieb am 01.12.2021 um 17:34:
> Hello,
>
> I am using the tool under Linux, Build 128 (2021-11-01 17:46), jdk-11.0.10+9
>
> It seems that the F9 key is hardcoded to action "Execute Selected". However, the "Configure shortcuts" screen shows another shortcut:
>

Vitaly

unread,
Dec 2, 2021, 2:07:37 PM12/2/21
to SQL Workbench/J - DBMS independent SQL tool
Hi Thomas,

Thanks for your response.
Are there any other hardcoded hotkeys? The User's Manual has no infromation regarding that.

Regards,
Vitaly
Reply all
Reply to author
Forward
0 new messages