guake icon indicating copy to clipboard operation
guake copied to clipboard

guake follows mouse focus when have 2 monitors

Open parr0tr1ver opened this issue 4 years ago • 7 comments

Be sure to check the existing issues (both open and closed!), and make sure you are running the latest version of Guake.

For how to run the latest Guake in your computer, please refer to Install from source.

Describe the bug

I have 2 monitors. When guake shows in the first monitor, and then I click on the second monitor, guake shows in the second monitor.

Expected behavior

guake should stay in the first monitor as previous version does.

Actual behavior

What you actually get.

To Reproduce

Provide the steps to reproduce the behavior


Please run $ guake --support, and paste the results here. Don't put backticks (`) around it! The output already contains Markdown formatting. And make sure you run the command OUTSIDE the Guake.

$ guake --support

$ guake --support

Guake Version: 3.7.0

Vte Version: 0.60.1

Vte Runtime Version: 0.60.1


GTK+ Version: 3.24.18

GDK Backend: GdkX11.X11Display


Desktop Session: xubuntu


Display: :0.0

RGBA visual: True

Composited: True

  • Monitor: 0 - DEL HDMI-1
    • Geometry: 1920 x 1080 at 0, 0
    • Size: 509 x 286 mm²
    • Primary: True
    • Refresh rate: 60.00 Hz
    • Subpixel layout: unknown
  • Monitor: 1 - DEL HDMI-2
    • Geometry: 1920 x 1080 at 1920, 0
    • Size: 509 x 286 mm²
    • Primary: False
    • Refresh rate: 60.00 Hz
    • Subpixel layout: unknown

parr0tr1ver avatar May 21 '20 02:05 parr0tr1ver

I have the same situation. When toggling guake on, click on the other screen twice, then guake windows will move to that screen. This is really annoying.

guake --support

$ guake --support

Guake Version: 3.7.0

Vte Version: 0.60.3

Vte Runtime Version: 0.60.3


GTK+ Version: 3.24.20

GDK Backend: GdkX11.X11Display


Desktop Session: i3


Display: :0

RGBA visual: True

Composited: False

  • Monitor: 0 - SHP eDP-1
    • Geometry: 1920 x 1080 at 0, 1080
    • Size: 294 x 165 mm²
    • Primary: True
    • Refresh rate: 59.93 Hz
    • Subpixel layout: unknown
  • Monitor: 1 - DEL DP-1
    • Geometry: 1920 x 1080 at 0, 0
    • Size: 527 x 296 mm²
    • Primary: False
    • Refresh rate: 60.00 Hz
    • Subpixel layout: unknown

woodpenker avatar Jun 18 '20 09:06 woodpenker

same here. I reverted to 3.6.3 in order to have the hod behaviour

Carusu avatar Jun 21 '20 19:06 Carusu

hi, gays, I find a solution to avoid this annoying situation for version 3.7.0:

  1. open the file guake/utils.py
  2. find the function set_window_state(self, window_state) at line 164
  3. modify this function to below codes, which just modify line 172.
    def set_window_state(self, window_state):
        self.window_state = window_state
        setattr(self.window, self.FULLSCREEN_ATTR, bool(window_state & Gdk.WindowState.FULLSCREEN))

        if not window_state & Gdk.WindowState.WITHDRAWN:
            if self.is_fullscreen():
                self.fullscreen()
            # modify the codes here:
            elif window_state & Gdk.WindowState.FOCUSED and self.guake.hidden:
                self.unfullscreen()

Then this problem solved. I wish this helps the one who meets it.

woodpenker avatar Jun 22 '20 07:06 woodpenker

Hello, I am still affected by this bug, with the latest git build (I also tried to edit the utils.py file but still the guake window follows the mouse focus) I am using i3wm fwiw

guake --support ─┘

(guake:135562): Gtk-WARNING **: 11:33:57.484: Theme parsing error: gtk.css:4:13: Not using units is deprecated. Assuming 'px'.

$ guake --support

Guake Version: 3.7.0

Vte Version: 0.64.2

Vte Runtime Version: 0.64.2


GTK+ Version: 3.24.30

GDK Backend: GdkX11.X11Display


Desktop Session: i3


Display: :0

RGBA visual: True

Composited: True

  • Monitor: 0 - DEL HDMI-A-0
    • Geometry: 1920 x 1080 at 1920, 0
    • Size: 527 x 296 mm²
    • Primary: True
    • Refresh rate: 60.00 Hz
    • Subpixel layout: unknown
  • Monitor: 1 - PHL DVI-D-0
    • Geometry: 1920 x 1080 at 0, 0
    • Size: 477 x 268 mm²
    • Primary: False
    • Refresh rate: 60.00 Hz
    • Subpixel layout: unknown

Carusu avatar Oct 03 '21 09:10 Carusu

Hrm, alright. A lot of issues to do with multi monitor support, if only I had a second one for testing

Davidy22 avatar Oct 03 '21 12:10 Davidy22

Is this issue a duplicate of https://github.com/Guake/guake/issues/1689 or vice versa?

white-gecko avatar Mar 31 '22 08:03 white-gecko

If it is a duplicate I think it can be closed.

white-gecko avatar Dec 11 '23 14:12 white-gecko