guake icon indicating copy to clipboard operation
guake copied to clipboard

"Follow mouse" in multi monitor setup only works for certain windows

Open MindWithCake opened this issue 2 years ago • 9 comments

Describe the bug

I have a multi-monitor setup on wayland. The option to make the terminal appear on the mouse screen only works when the mouse enter certain windows (in my case Microsoft Teams chat and Guake Preferences, but I believe that any XWayland window would work). Example: I put the Teams window so that it spans all monitors. If the mouse is inside the window on monitor X then guake appears on monitor X. If the mouse leaves the window on monitor X and then I move it to monitor Y then guake will pop up on monitor X instead on Y.

Expected behavior

Guake should pop up where the cursor is

Actual behavior

Guake pops up where the cursor has been seen last by X server


$ guake --support

Guake Version: 3.8.5

Vte Version: 0.68.0

Vte Runtime Version: 0.68.0


GTK+ Version: 3.24.33

GDK Backend: <GdkX11.X11Display


Desktop Session: gnome


Display: :0

RGBA visual: True

Composited: True

  • Monitor: 0 - XWAYLAND2
    • Geometry: 1920 x 1080 at 0, 1080
    • Size: 290 x 170 mm²
    • Primary: True
    • Refresh rate: 59.962 Hz
    • Subpixel layout: unknown
  • Monitor: 1 - XWAYLAND0
    • Geometry: 1280 x 1024 at 1920, 56
    • Size: 380 x 310 mm²
    • Primary: False
    • Refresh rate: 59.894 Hz
    • Subpixel layout: unknown
  • Monitor: 2 - XWAYLAND1
    • Geometry: 1920 x 1080 at 0, 0
    • Size: 480 x 270 mm²
    • Primary: False
    • Refresh rate: 59.962 Hz
    • Subpixel layout: unknown

MindWithCake avatar Aug 17 '22 13:08 MindWithCake

I can confirm this behaviour on ubuntu 22.04.1, guake built from git


$ guake --support

Guake Version: 3.9.1.dev12

Vte Version: 0.68.0

Vte Runtime Version: 0.68.0


GTK+ Version: 3.24.33

GDK Backend: <GdkX11.X11Display


Desktop Session: ubuntu


Display: :0

RGBA visual: True

Composited: True

  • Monitor: 0 - XWAYLAND1
    • Geometry: 2560 x 1440 at 2560, 528
    • Size: 530 x 300 mm²
    • Primary: True
    • Refresh rate: 59.912 Hz
    • Subpixel layout: unknown
  • Monitor: 1 - XWAYLAND0
    • Geometry: 2560 x 1440 at 0, 528
    • Size: 530 x 300 mm²
    • Primary: False
    • Refresh rate: 59.912 Hz
    • Subpixel layout: unknown
  • Monitor: 2 - XWAYLAND2
    • Geometry: 1440 x 2560 at 5120, 0
    • Size: 300 x 530 mm²
    • Primary: False
    • Refresh rate: 59.93 Hz
    • Subpixel layout: unknown

Robert-Riedl avatar Aug 18 '22 14:08 Robert-Riedl

I've got the same issue.

I.e it captures the correct screen when I hover over Chrome. But it doesn't when it's gedit.

I'm on Ubuntu 22.4.1 LTS. mart@VivoBook:~$ guake --version Guake Terminal: 3.8.5 VTE: 0.68.0 VTE runtime: 0.68.0 Gtk: 3.24.33

PS: Haven't tried compiling latest dev versions. But comments #2115 seems to suggest that it may not be fixed yet.

mart-r avatar Sep 02 '22 08:09 mart-r

i've switched to xorg as a workaround, where i still have some issues with fullscreen (disappearing tabs) but not with mouse follow

Robert-Riedl avatar Sep 05 '22 06:09 Robert-Riedl

I also have this problem

ubuntu 22.4.1 Wayland

Guake Terminal: 3.9.1.dev12 VTE: 0.68.0 VTE runtime: 0.68.0 Gtk: 3.24.33

WPengXiang avatar Sep 06 '22 01:09 WPengXiang

I have the same issue with ubuntu 22.4.1 Wayland and Guake 3.9.0. Anyone knows if there's an update on this issue?

khieu avatar Apr 27 '23 03:04 khieu

Same issue, Guake seems to "lock" to the monitor where Google Chrome was last active. Focusing another application doesn't seem to have any impact. Currently running Guake 3.10, on Wayland 23.1.2, everything pulled from OpenSUSE Tumbleweed.

lylavoie avatar Jul 10 '23 12:07 lylavoie

For what it's worth, you can use Win+click+drag can move it to the other screen. It also seems to fix it, at least temporarily.

nmay231 avatar Jul 17 '23 20:07 nmay231

The issue still persists on Ubuntu 22.04

tburny avatar Apr 22 '24 00:04 tburny