lanoxx / tilda

A Gtk based drop down terminal for Linux and Unix
GNU General Public License v2.0
1.26k stars 162 forks source link

Tilda not catching keybinds out of focus in Ubuntu 21.04 #457

Closed LeNiglo closed 3 years ago

LeNiglo commented 3 years ago

Hello,

I recently upgraded to Ubuntu 21.04 and Tilda just stopped behaving like it should. The keybind is properly catched when tilda terminal is focused, but when out of focus, nothing.

Tested with ², ~, F1, Alt+B, same result.

Does anyone already had a similar issue and/or a way to make it work properly ?

Regards

eugenioperea commented 3 years ago

I have the same problem, also since updating to 21.04, but I've seen a slightly different effect: it depends on the app in focus. Tilda works fine with Chrome and its webapps, Thunderbird, and Telegram Desktop. It does not work with all other apps I've tried: Firefox, LibreOffice, RedNotebook, Files, or any Gnome app.

Chofoteddy commented 3 years ago

Seems to be a Wayland bug reported at 2013: https://bugs.launchpad.net/mutter/+bug/1244090.

MrTransistorsChannel commented 3 years ago

Same thing with my system. I think that it has to do something with the way Wayland handles hotkeys because the problem is only present when running a Wayland session. Also this happens to other programs like Guake terminal (which I'm currently using because of this bug) but with Guake you can just create a keybind in system preferences to perform "guake -t" command which toggles the visibility so I suggest adding something similar to Tilda in case there`s no way to fix this issue in a different way.

lanoxx commented 3 years ago

Related to #150 and #314. #407 added DBus support and allows you to register a global hotkey. For now you will have to compile from master until there is a new release.

lanoxx commented 3 years ago

To summarize this. This occurs only on Wayland sessions, if you keep using X11 sessions you are fine. On Wayland you will need to register a global hotkey, for example via Gnome Settings and invoke the new DBus interface of tilda to toggle the window.

klausi commented 3 years ago

Documented how to switch from Wayland to X11 in #462 , thanks for the hint!