Guake / guake

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

Zooming shortcuts do not work under Wayland if font size is not an integer #2215

Open theCapypara opened 7 months ago

theCapypara commented 7 months ago

Describe the bug This issue took me ages to figure out:

If using Wayland and the font size is currently not set to an integer (eg. 20,2), then zooming via the zoom in/zoom out shortcuts does not work. It works under X11.

Expected behavior

The font size should increase / decrease.

Actual behavior

Nothing happens.

To Reproduce

  1. Run Wayland (I used GNOME 45)
  2. Configure the zoom shortcuts
  3. Set the font size to an non-integer value
  4. Try to zoom in/out using the configured command.

$ guake --support Guake Version: 3.11.dev0 Vte Version: 0.74.1 Vte Runtime Version: 0.74.1 -------------------------------------------------- GTK+ Version: 3.24.38 GDK Backend:
theCapypara commented 7 months ago

This is probably too niche of an issue to actually bother prioritising but I hope someone with the same issue stumbles upon this :sweat_smile: I was going crazy trying to figure out why zooming didn't work for over a year now. It worked perfectly fine under Wayland on another machine of mine, I thought some other app was interfering with shortcuts somehow....