question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom key bindings stop working while in SQL Editor tab

See original GitHub issue

System information:

  • Operating system (distribution) and version: MacOs Mojave v10.14.4
  • DBeaver version: 6.0.4.201905052017 (but also seen in last several versions)
  • Java version: 1.8.0_181
  • Additional extensions: None, N/A

Connection specification:

  • Database name and version N/A (but Azure MSSQL)
  • Driver name MS JDBC
  • Do you use tunnels or proxies (SSH, SOCKS, etc)? No

Describe the problem you’re observing:

I have modified key bindings for home/end keys set up on Line End / Line Start command, when ‘Editing Text’ with Category ‘Text Editing’ for use in SQL Editor tabs. These work fine at DBeaver start-up but after running the program for a bit (minutes to days), the key bindings stop working and revert to default. The bindings still exist in preferences but don’t work.

Stopping and restarting the application restores the custom functionality.

Steps to reproduce, if exist:

Issue manifests itself in a SQL Editor tab after application has been open anywhere from minutes to days while editing. Not able to reproduce on demand until it happens on its own, and then the issue remains until DBeaver is restarted.

Include any warning/errors/backtraces from the logs

No new errors in logs after this happens other than the following at about the same time (though may not be related, and only noticed this today): 2019-05-17 11:24:02.074 - Resource 'meta.org.jkiss.dbeaver.model.DBPObjectWithDescription.description.name' not found in bundle org.jkiss.dbeaver.ext.mssql

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:4
  • Comments:11

github_iconTop GitHub Comments

1reaction
dave-mcleancommented, Feb 24, 2021

MacOs Catalina 10.15.7 dbeaver 7.3.2

Same issue.

I also see the following behaviour:

If I turn on “show key binding when command is invoked” then I can see what command dbeaver thinks is being invoked as I hit it.

I have the following settings: HOME -> Start of Line of Text END -> End of Line of Text SHIFT+HOME -> Select to start of line of Text SHIFT+END -> Select to end of line of Text

when using SHIFT/HOME or SHIFT/END in the SQLEditor dbeaver gets it right:

image

but when I use the HOME or END keys directly it displays the binding that I expect, but the behaviour is wrong (I get end of all text instead of end of line of text). It appears that despite displaying LINE START/END the editor is actually executing TEXT START/END

image

Key bindings work correctly when the App has been opened recently. I can’t find an exact event that causes the home/end key bindings change to “Text Start” instead of “Line Start”

1reaction
NagRamachandrancommented, Aug 4, 2020

I am having the same issue in MacOS Catalina -Keybinding is lost - “Home” and “End” keys won’t work.

Steps to reproduce Open SQL Script Editor. Issue an invalid SQL Statement and execute.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio Code Key Bindings
Here you will find the complete list of key bindings for Visual Studio Code and how to change them.
Read more >
What to do if Shortcut Key CTRL + R Does Not Work in SQL ...
Go to the Tools Menu in SSMS and Select Options. Select the Keyboard section under the Environments tab. Search for the text “Window....
Read more >
Customize Menus and Shortcut Keys - SQL - Microsoft Learn
On the Tools menu, click Customize. · Make sure the toolbar you want to change is visible. In the Customize dialog box, click...
Read more >
Custom keyboard shortcuts in SQL Server Management ...
Learning keyboard shortcut saves you a lot of time; you'll definitely notice a boost the productivity because you're not unnecessarily reaching ...
Read more >
How can I change keyboard shortcut bindings in Visual Studio ...
Click File -> Preferences -> Keyboard shortcuts. Use the tab that opens up to edit and find available key bindings and assign them....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found