Guake / guake

Drop-down terminal for GNOME
https://guake.github.io
GNU General Public License v2.0
4.44k stars 576 forks source link

lost focus when switching input source #313

Open digitalsatori opened 10 years ago

digitalsatori commented 10 years ago

I use ibus as IME in my ubuntu box, as I will need to input both English and Chinese characters. guake used to work fine with ibus, I can switch back and forth input method in a guake shell without losing focus.

With a recent update, every time I do Ctrl+Space to switch the input method, guake will lost focus and auto hide itself (I set in the preference, auto hide when losing focus), which is very annoying.

It's not a hotkey problem. I changed the "Ctrl+Space" to other key combination for input method switching, and the same issue happened when I switch the input method.

Can someone advise me what could be the course of the problem?

BTW, don't know whether it is helpful for your debuging. When I launch the guake at front end, I see a lot of warning like: (guake:8977): libglade-WARNING **: unknown attribute `swapped' for .

unibasil commented 10 years ago

Confirmed in Ubuntu 14.04 (Unity) with Guake 0.4.4, English/Russian input sources.

suricactus commented 10 years ago

This bug is from very long time and it's the only reason I do not use Guake as my main terminal emulator. I don't know why clicking Ctrl key is stealing focus, but it's very annoying.

gsemet commented 10 years ago

Focus is not lost on Ctrl on my system, but when pressing "Alt". I agree, this is annoying (see #352)

robinpecha commented 10 years ago

I have disabled HUD key on Ubuntu 12.04 and it works great. On 14.04.1 disabling does not help. Caps Lock and Ctrl does not steal focus. But Alt does.

digitalsatori commented 9 years ago

Hi there, I saw a lot of lost focus issue here. But, the root cause of the issue could be somewhere else. Please look at the bug report here on launchpad: https://bugs.launchpad.net/gnome-settings-daemon/+bug/1244090

Xpos587 commented 5 months ago

Any solutions to the problem in Ubuntu 24.04?

mikegleasonjr commented 1 week ago

EDIT: found the solution: Preferences > Main Window > Lazy hide on loose focus

I think it is because Ubuntu launches a window when switching inputs, and that window becomes visible when holding the shortcut for some time (you will see all the available languages).

So, like any other window, Guake looses focus when another window is activated...

Wondering if we can do an exception here...