guake icon indicating copy to clipboard operation
guake copied to clipboard

Guake window moves displays on mouse click

Open Daanikus opened this issue 5 years ago • 2 comments

Describe the bug

Opening Guake on display A and then immediately clicking within display B moves Guake to display B. This only happens for the first mouse click made outside of Guake after open eg. opening Guake on display A and clicking within display A (outside of Guake) and then clicking display B leaves Guake on display A.

Expected behavior

Guake stays on display A.

Actual behavior

Opening Guake on display A and then immediately clicking within display B moves Guake to display B.

To Reproduce

Make Guake visible then click on a different display.


$ guake --support

Guake Version: 3.6.4

Vte Version: 0.52.2

Vte Runtime Version: 0.52.2


GTK+ Version: 3.22.30

GDK Backend: GdkX11.X11Display


Desktop Session: ubuntu


Display: :0

RGBA visual: True

Composited: True

  • Monitor: 0 - eDP-1
    • Geometry: 1920 x 1080 at 13, 1080
    • Size: 344 x 193 mm²
    • Primary: True
    • Refresh rate: 60.01 Hz
    • Subpixel layout: unknown
  • Monitor: 1 - HDMI-2
    • Geometry: 1920 x 1080 at 0, 0
    • Size: 480 x 270 mm²
    • Primary: False
    • Refresh rate: 60.00 Hz
    • Subpixel layout: unknown

Daanikus avatar Jun 19 '19 02:06 Daanikus

Hey there. I've been having this same issue, it can be resolved by commenting out a single line of code. The specific line in question is line 186 of utils.py. It appears to be a fix to some other issue that I haven't encountered myself, so I haven't had any problems running Guake without it.

# FIX to unfullscreen after show, fullscreen, hide, unfullscreen
# (unfullscreen breaks/does not shrink window size)
RectCalculator.set_final_window_rect(self.settings, self.window)

Just put a # at the beginning of the line starting with RectCalculator and restart Guake. Hopefully this is something the devs can figure out eventually but that should fix the problem for the time being.

topher-au avatar Aug 22 '19 01:08 topher-au

I'm running into what I think is this bug. When I first open guake it shows up as a 1080P wide box on the mouse my monitor is on. Any time I click on another monitor after having focus on guake, the window jumps to that screen.

$ guake --support

Guake Version: 3.7.0

Vte Version: 0.72.2

Vte Runtime Version: 0.72.2


GTK+ Version: 3.24.38

GDK Backend: GdkX11.X11Display


Desktop Session: plasmax11


Display: :0

RGBA visual: True

Composited: True

  • Monitor: 0 - AUS DisplayPort-2
    • Geometry: 2560 x 1440 at 0, 720
    • Size: 597 x 336 mm²
    • Primary: True
    • Refresh rate: 143.97 Hz
    • Subpixel layout: unknown
  • Monitor: 1 - GSM DisplayPort-0
    • Geometry: 1920 x 1080 at 2560, 0
    • Size: 510 x 290 mm²
    • Primary: False
    • Refresh rate: 60.00 Hz
    • Subpixel layout: unknown
  • Monitor: 2 - GSM HDMI-A-0
    • Geometry: 1920 x 1080 at 2560, 1080
    • Size: 510 x 290 mm²
    • Primary: False
    • Refresh rate: 60.00 Hz
    • Subpixel layout: unknown

Duckle29 avatar Jul 10 '23 18:07 Duckle29