Guake: Guake window moves displays on mouse click

Created on 19 Jun 2019  路  1Comment  路  Source: Guake/guake

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

Most helpful comment

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.

>All comments

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.

Was this page helpful?
0 / 5 - 0 ratings