Guake opens on wrong screen using Ubuntu 24
Describe the bug
Guake is opening on the wrong screen, despite the "Appear on mouse display" option being selected. This appears to be a recent issue for me as I didn't notice it before, however I've also just upgraded Ubuntu to 24.04.2 LTS. I'm running version 3.10 of Guake.
Expected behavior
When I press my shortcut key (F1 that I have bound) Guake should open on the monitor with the mouse cursor on.
Actual behavior
It opens on the last monitor which had certain apps selected. E.g. It will open on the last monitor that had an instance of Chrome focused (so moving Chrome around and pressing F1 will shift which monitor it opens on) but it won't respect the general cursor position and other applications having focus (e.g. SublimeText) won't cause Guake to follow.
To Reproduce
For me, install Ubuntu latest, install latest Guake trying using the shortcut to open the terminal on different monitors (I've got 3). See if it tracks.
$ guake --support
Guake Version: 3.10
Vte Version: 0.76.0
Vte Runtime Version: 0.76.0
GTK+ Version: 3.24.41
GDK Backend: <GdkX11.X11Display
Desktop Session: ubuntu
Display: :0
RGBA visual: True
Composited: True
- Monitor: 0 - DP-1
- Geometry: 1920 x 1080 at 1920, 0
- Size: 510 x 290 mm²
- Primary: True
- Refresh rate: 59.962 Hz
- Subpixel layout: unknown
- Monitor: 1 - DP-2
- Geometry: 1920 x 1080 at 3840, 0
- Size: 510 x 290 mm²
- Primary: False
- Refresh rate: 59.962 Hz
- Subpixel layout: unknown
- Monitor: 2 - eDP-1
- Geometry: 1920 x 1200 at 0, 0
- Size: 340 x 210 mm²
- Primary: False
- Refresh rate: 59.884 Hz
- Subpixel layout: unknown
This happens to me as well - Manjaro Linux - although it doesn't open to the last focused monitor; it opens to specifically my laptop internal monitor (monitor 1 - not even my primary). It was successfully working with the open on mouse display option until the last week or so. It will also focus whatever window is on that monitor when I untoggle it, despite the other monitor having had the originally focused window.
$ guake --support
Guake Version: 3.11.dev0
Vte Version: 0.82.0
Vte Runtime Version: 0.82.0
GTK+ Version: 3.24.50
GDK Backend: <GdkX11.X11Display
Desktop Session: plasma
Display: :1
RGBA visual: True
Composited: True
- Monitor: 0 - HDMI-A-1
- Geometry: 1920 x 1080 at 1920, 0
- Size: 521 x 293 mm²
- Primary: True
- Refresh rate: 59.962 Hz
- Subpixel layout: unknown
- Monitor: 1 - eDP-1
- Geometry: 1920 x 1200 at 0, 0
- Size: 302 x 189 mm²
- Primary: False
- Refresh rate: 59.884 Hz
- Subpixel layout: unknown
Actually, this could be a Plasma issue as it seems to be happening to Albert as well, but I'm not sure how to evaluate that.