Guake / Guake/guake

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

Open
#1,319 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.7k
Forks
604
PR merge metrics
No merged PRs in 30d

Description

```
$ 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:
* The "Toggle Guake visibility" keyboard shortcut set in Guake preferences
* The following command run from e.g. `gnome-terminal`: `guake -t; sleep 2; guake -t`

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.