Eugeny / tabby

A terminal for a more modern age
https://tabby.sh
MIT License
59.39k stars 3.39k forks source link

Tabby does not give back focus when hidden #7493

Open herrenP opened 2 years ago

herrenP commented 2 years ago

Describe the problem: I use Tabby docked in the top and I have bound F12 to toggle it's visibility. Whenever I press F12 to hide Tabby then whichever application that used to have focus does not get it back. This causes, for example, keyboard input to be ignored by that application.

This does not happen if I quit Tabby and use another dropdown terminal with F12. In my case I tested with xfce4-terminal --drop-down as a replacement terminal.

This tends to get quite annoying since I use Tabby like a million times a day. Thanks for the awesome terminal by the way!

This has been an issue ever since I started using Tabby. Probably back when Alpha 183 or something was out.

Environment:

To Reproduce:

  1. Set Tabby to be docked with "Top" as option (I suppose any docked mode works)
  2. Bind F12 to toggle Tabby (I suppose any key works)
  3. Open an application (Chrome or code in my case)
  4. Enter some text into the application (e.g. URL field)
  5. Press F12 to show Tabby
  6. (optional) Enter text in Tabby
  7. Press F12 to hide Tabby
  8. Try to repeat step 4 by pressing random keyboard keys

Expected: Application receives keyboard input

Actual: Nothing happens

liulu1998 commented 1 year ago

@herrenP how to bind a key to toggle Tabby ? I didn't see that option in Tabby settings.

herrenP commented 1 year ago

@herrenP how to bind a key to toggle Tabby ? I didn't see that option in Tabby settings.

Settings->Hotkeys: image

liulu1998 commented 1 year ago

@herrenP thanks. It works good on Manjaro KDE, with Tabby 1.0.187

herrenP commented 1 year ago

@herrenP thanks. It works good on Manjaro KDE, with Tabby 1.0.187

I suspect it's an XFCE incompatibility. I have the same issue on 187 unfortunately.

darrylmorley commented 1 year ago

Same issue here. Tabby closes when hidden and can not be reopened using the toggle shortcut.

Ubuntu 22.04 Version: 1.0.188 Platform: Linux x64 5.15.0-60-generic Plugins: none Frontend: xterm-webgl

TabbyDaddy commented 1 year ago

I solved the problem by enabling the gnome-shell-extensions and restart Tabby. Fedora 38 Gnome 44

2b2bff commented 10 months ago

I solved the problem by enabling the gnome-shell-extensions and restart Tabby. Fedora 38 Gnome 44

Which one? There are a lot of extensions...

TabbyDaddy commented 10 months ago

I solved the problem by enabling the gnome-shell-extensions and restart Tabby. Fedora 38 Gnome 44

Which one? There are a lot of extensions...

Please follow the link in my previous message.