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
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.
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.Just put a
#at the beginning of the line starting withRectCalculatorand restart Guake. Hopefully this is something the devs can figure out eventually but that should fix the problem for the time being.