dblab icon indicating copy to clipboard operation
dblab copied to clipboard

Backspace in query box changes focus to table view instead of deleting text

Open abdelaziz-ouhammou opened this issue 1 year ago • 8 comments

Describe the bug Backspace in query box changes focus to table view instead of deleting query text

To Reproduce Steps to reproduce the behavior: Write some text in query and then try to delete some text using backspace. 'Delete' works fine but 'Backspace' doesn't

Expected behavior Text to be deleted

OS:

  • Redhat 8.9

abdelaziz-ouhammou avatar Aug 25 '24 08:08 abdelaziz-ouhammou

I couldn't reproduce that behavior in Linux Lite 6.6, probably it's an OS related issue.

cravenceiling avatar Sep 25 '24 00:09 cravenceiling

Using windows changes the focus too

rkgarcia avatar Nov 05 '24 16:11 rkgarcia

I have the same issue:

dblab: 0.29 OS: Windows 10 22H2 Open SQLite DB Use windows terminal

SMAH1 avatar Nov 24 '24 06:11 SMAH1

Same issue. Backspace never worked, did not test Delete everywhere, but failed (i.e. switch panel) every time I did.

Tested environment combinations:

  • Architecture/Distro: (rpi) aarch64 debian testing/unstable, x86_64-glibc void
  • Shell: Bash, Zsh (with and without completion plugin loaded)
  • Connection (I mean connect to remote server and run dblab natively, not connecting to remote database): tty, ssh, mosh
  • Terminal: qterminal
  • Kernel: 6.6, 6.12
  • dblab: 0.29.0
  • db: sqlite (flag, config file)

Have other distros at hand but did not continue as it's already disappointing enough, I don't think they would work either. Actually I doubt if it's a font/terminal issue or it only works in Linux Lite...

Vinfall avatar Dec 15 '24 06:12 Vinfall

I'm having the same issue and also CTRL-L just selects the text in the query window and never executes it.

selfagency avatar Jan 24 '25 04:01 selfagency

I also have this issue on Windows 11. It is extremely annoying.

Code4SAFrankie avatar Nov 28 '25 11:11 Code4SAFrankie

Tested on Windows. Can verify that it's still an issue. Hope someone can take a look at this.

conraduouou avatar Dec 02 '25 12:12 conraduouou

Could someone help me test this out, please? It's a possible solution but I can't test it in Windows.

You just need to clone the repo and then run go run .. The backspace should work now as well as the CTRL+L keybinding to focus the right window. I already tested the last one and it worked well at least on arch linux.

cravenceiling avatar Dec 03 '25 21:12 cravenceiling