Guake / guake

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

--toggle-visibility Does Not Work with "Hide on lose focus" when Set via Global Shortcuts #1319

Open tohuw opened 6 years ago

tohuw commented 6 years ago
$ guake --version
Guake Terminal: 3.2.2
VTE: 0.52.1
VTE runtime: 0.52.1
Gtk: 3.22.30

$ head -n2 /etc/os-release
NAME="Ubuntu"
VERSION="18.04 LTS (Bionic Beaver)"

Installed from source. If I select the option "Hide on lose focus", the following work as expected:

However, if I set a keyboard shortcut in Gnome preferences to the command guake -t or dbus-send --type=method_call --dest=org.guake3.RemoteControl /org/guake3/RemoteControl org.guake3.RemoteControl.show_hide, the window immediately reappears after disappearing. The messages when I press the hotkey are:

Hiding on focus lose
Showing the terminal

This only happens when I use the Gnome keyboard shortcut. I can reproduce it at current HEAD and tag 3.2.1.

lgarczyn commented 2 years ago

Can confirm this is still an issue

andersaamodt commented 2 years ago

This is still an issue but "Lazy hide on lose focus" fixes it and is an adequate workaround. Only difference is the auto-hide on lose focus is delayed by a split second.