guake
guake copied to clipboard
Guake moving to another monitor on mouse click
Hello, since the last update the guake terminal is moving to the monitor I click into when it's opened.
To recreate the issue you need to have Guake opened on one window and right after clicking into the Guake terminal or opening it, click on any window or the free desktop surface on the other monitor. It only seems to work one time after Guake got the focus.
I installed Guake from this repository: ppa:linuxuprising/guake. I hope this helps recreating and fixing the issue.
Best,
Jeroen
$ guake --support
Guake Version: 3.7.0
Vte Version: 0.52.2
Vte Runtime Version: 0.52.2
GTK+ Version: 3.22.30
GDK Backend: GdkX11.X11Display
Desktop Session: ubuntu
Display: :1
RGBA visual: True
Composited: True
- Monitor: 0 - HDMI-0
- Geometry: 1920 x 1080 at 0, 0
- Size: 531 x 299 mm²
- Primary: True
- Refresh rate: 60.00 Hz
- Subpixel layout: unknown
- Monitor: 1 - DP-1
- Geometry: 1920 x 1080 at 1920, 0
- Size: 531 x 299 mm²
- Primary: False
- Refresh rate: 60.00 Hz
- Subpixel layout: unknown
I can confirm this behaviour.
$ guake --support
Guake Version: 3.7.0
Vte Version: 0.52.2
Vte Runtime Version: 0.52.2
GTK+ Version: 3.22.30
GDK Backend: GdkX11.X11Display
Desktop Session: cinnamon
Display: :0
RGBA visual: True
Composited: True
- Monitor: 0 - eDP1
- Geometry: 2736 x 1824 at 0, 0
- Size: 260 x 170 mm²
- Primary: True
- Refresh rate: 59.96 Hz
- Subpixel layout: unknown
- Monitor: 1
- Missing, since I write this from my laptop without the second monitor plugged in...
Same here. Also I noticed, that I can't hide terminal window by clicking on any window on the monitor with terminal opened. I can see that after click, guake terminal disappear for a moment and appears immediately on top. The only option to hide is to press F12. It behaves like I have 'always on top' turned on (but I dont). Before the update it was working.
$ guake --support
Guake Version: 3.7.0Vte 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 - DVI-D-0
- Geometry: 1080 x 1920 at 0, 0
- Size: 531 x 299 mm²
- Primary: True
- Refresh rate: 60.00 Hz
- Subpixel layout: unknown
- Monitor: 1 - DP-1-3
- Geometry: 1920 x 1080 at 1080, 399
- Size: 531 x 299 mm²
- Primary: False
- Refresh rate: 60.00 Hz
- Subpixel layout: unknown
Same here. Also, I can no longer maximize the window using Super+↑; it immediately un-maximizes.
$ guake --support
Guake Version: 3.7.0
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-1
- Geometry: 1920 x 1080 at 2160, 840
- Size: 309 x 174 mm²
- Primary: True
- Refresh rate: 60.02 Hz
- Subpixel layout: unknown
- Monitor: 1 - DP-1-2-2-1
- Geometry: 1080 x 1920 at 0, 0
- Size: 527 x 296 mm²
- Primary: False
- Refresh rate: 60.00 Hz
- Subpixel layout: unknown
- Monitor: 2 - DP-1-2-2-8
- Geometry: 1080 x 1920 at 1080, 0
- Size: 527 x 296 mm²
- Primary: False
- Refresh rate: 60.00 Hz
- Subpixel layout: unknown
Same Here
$ guake --support
Guake Version: 3.7.0
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 0, 0
- Size: 293 x 162 mm²
- Primary: True
- Refresh rate: 60.03 Hz
- Subpixel layout: unknown
- Monitor: 1 - DP-1-1-8
- Geometry: 2560 x 1440 at 1920, 0
- Size: 597 x 336 mm²
- Primary: False
- Refresh rate: 59.95 Hz
- Subpixel layout: unknown
- Monitor: 2 - DP-2
- Geometry: 2560 x 1440 at 4480, 0
- Size: 597 x 336 mm²
- Primary: False
- Refresh rate: 59.95 Hz
- Subpixel layout: unknown
Presumably you don't have Appear on mouse display
option selected under Preferences->Main Window->Placement
?
Same here with checked :heavy_check_mark: Appear on mouse display
When I disabled it, I do not have the bug anymore, but then I loose the mouse display feature.
I would expect as before. Open the term where ever the mouse is, but do not change focus on mouse click.
$ guake --support
Guake Version: 3.7.0
Vte Version: 0.52.2
Vte Runtime Version: 0.52.2
GTK+ Version: 3.22.30
GDK Backend: GdkX11.X11Display
Desktop Session: ubuntu
Display: :1
RGBA visual: True
Composited: True
- Monitor: 0 - HDMI-1
- Geometry: 1920 x 1080 at 1920, 0
- Size: 521 x 293 mm²
- Primary: True
- Refresh rate: 60.00 Hz
- Subpixel layout: unknown
- Monitor: 1 - HDMI-2
- Geometry: 1920 x 1080 at 3840, 0
- Size: 531 x 299 mm²
- Primary: False
- Refresh rate: 60.00 Hz
- Subpixel layout: unknown
- Monitor: 2 - DP-1
- Geometry: 1920 x 1080 at 0, 0
- Size: 531 x 299 mm²
- Primary: False
- Refresh rate: 60.00 Hz
- Subpixel layout: unknown
I would expect as before. Open the term where ever the mouse is, but do not change focus on mouse click.
Pretty sure it was never meant to work this way. The terminal appears on your mouse display as per the option, it doesn't seem like a bug to me?
Same here with checked
Appear on mouse display
When I disabled it, I do not have the bug anymore, but then I loose the mouse display feature.
I would expect as before. Open the term where ever the mouse is, but do not change focus on mouse click.
$ guake --support
Yes, disabling the Appear on mouse display
works for me as well.
@J-Schaefer Can you close the issue if you have a confirmed solution?
I would expect as before. Open the term where ever the mouse is, but do not change focus on mouse click.
Pretty sure it was never meant to work this way. The terminal appears on your mouse display as per the option, it doesn't seem like a bug to me?
before If I click on another screen, as my terminal was already open it was not moving the it to mouse place.
This is the scenario that we expect Given - not visible terminal (toggled) When - toggle open terminal with mouse position on screen 1 Then - Terminal is open on screen 1 When - Click with mouse on screen 2 Then - Terminal stays on screen 1 *
What happens since the upgrade
- Already toggled open terminal moves to screen 2
@J-Schaefer Can you close the issue if you have a confirmed solution?
Well, the solution is to disable one of the options. But I don't believe that the jumping of the window after it has been opened is a feature of Guake. So it's no real solution unfortunately.
I would expect as before. Open the term where ever the mouse is, but do not change focus on mouse click.
Pretty sure it was never meant to work this way. The terminal appears on your mouse display as per the option, it doesn't seem like a bug to me?
before If I click on another screen, as my terminal was already open it was not moving the it to mouse place.
This is the scenario that we expect Given - not visible terminal (toggled) When - toggle open terminal with mouse position on screen 1 Then - Terminal is open on screen 1 When - Click with mouse on screen 2 Then - Terminal stays on screen 1 *
What happens since the upgrade
- Already toggled open terminal moves to screen 2
Thanks for the clarification! It's really comprehensible. I do appreciate that.
In my local install I removed the code from the commit 5205ce2b3360d19e1a53a7996c502a33a435f794 which restored the expected functionality for the terminal positioning on mouse click. (I'm not familiar with the issue that commit was fixing though, so I may see some side effects from this.)
In my local install I removed the code from the commit 5205ce2 which restored the expected functionality for the terminal positioning on mouse click. (I'm not familiar with the issue that commit was fixing though, so I may see some side effects from this.)
I've reverted that commit manually and it worked as expected, thanks
I believe I have the same issue. I have 3 monitors, and when I used to drop Guake on the left monitor to work on the center it used to stay there, but now it pops up on the monitor where I click the mouse. Once Guake lost its focus it will stay, but accidentally selecting it while tabbing will make Guake appear on the monitor with the mouse again.
It seems the functions set_final_window_rect from RectCalculator is used at each window_event due to the commit 5205ce2 with the call of the function unfullscreen, causing the change of the monitor where Guake is shown.
I will confirm this is a recent change in behavior. I have 3 monitors. I open Guake on one, say the right one. If I click out of Guake onto anything on the right monitor, then click something in the middle or left monitor, it stays in place on the right monitor. If I do not click out of Guake, it moves monitors when I click on the middle or right monitor. Since this was never needed before, more often than not I forget to click out of Guake ( an uneeded extra click ) and end up just getting rid of Guake and opening Tilix since it doesn't move around on me.
This is a recent change in behavior. Previously it stayed where it was. As for the check box in Preferences > Main Windows > Appear on mouse display, this is not really a good solution. If I uncheck it I can set which monitor to open on and that partially works as it will stay there. However, that presumes I always want it to open on one monitor, which is not the case. For me, I will use all three monitors at times depending on what I have open and where these open windows are placed. Otherwise I'd have to move everything I'm working on on one monitor to another one then open Guake so I can continue to do what I'm doing in my other windows. That or sacrifice one monitor specifically for Guake and not have anything else open on it, thus making it almost a wasted monitor as there's only specific times I use I use the terminal for more than 10 seconds. I suppose if I had a terminal open 100% of the time that would be acceptable.
In the end I would like to see a return of the previous functionality where once I open it on a monitor, it stays there unless I tell it to move. Not move on its own accord.
Thanks for the work on Guake! I do appreciate the program and like to use it, when it's not jumping around all over the place :p
This is still an issue that is very annoying with multi-monitor setups.
I can confirm this as well. Looking at the date of the commit & release that appears to be about the time I started having the issue as well.
I started using guake a few years ago mainly due to being stuck on a tiny laptop screen at the time for the benefit of hiding and tabs (and maybe a little Quake nostalgia...) and it just grew on me.
Since I never use the fullscreen toggle I'll probably do the same as @AbdElraoufSabri and manually revert it and build a temporary substitute for the current package I am using from the Arch community repo.
Thank you to the author and all the maintainers for all your hard work!
`$ guake --support
Guake Version: 3.7.0
Vte Version: 0.60.0
Vte Runtime Version: 0.60.0
GTK+ Version: 3.24.14
GDK Backend: GdkX11.X11Display
Desktop Session: xfce
Display: :0.0
RGBA visual: True
Composited: False
- Monitor: 0 - BOE eDP1
- Geometry: 1366 x 768 at 1920, 328
- Size: 340 x 190 mm²
- Primary: True
- Refresh rate: 60.00 Hz
- Subpixel layout: unknown
- Monitor: 1 - SAM DP2
- Geometry: 1920 x 1080 at 3286, 16
- Size: 480 x 270 mm²
- Primary: False
- Refresh rate: 60.00 Hz
- Subpixel layout: unknown
- Monitor: 2 - VIZ HDMI1
- Geometry: 1920 x 1080 at 0, 0
- Size: 850 x 480 mm²
- Primary: False
- Refresh rate: 60.00 Hz
- Subpixel layout: unknown `
Downgrade to 3.6.3 helped me
Downgrade or install different drop down terminal seems to be only option. Really sucks when you have mouse set to activate on hover. Just keeps popping a terminal on ever screen move. I love guake but need another option to only open on mouse position when activated not on click or on focus.
I applied PR #1774 and that seems to have fixed the problem for me. I just modified utils.py and restarted guake. For me it was located at /usr/lib/python3.7/site-packages/guake/utils.py, but it will probably depend on your distro.
I applied PR #1774 and that seems to have fixed the problem for me. I just modified util.py and restarted guake. For me it was located at /usr/lib/python3.7/site-packages/guake/utils.py, but it will probably depend on your distro.
I can confirm that this looks to be working for me as well. Finally! Good stuff
For me, on Manjaro it was located in /usr/lib/python3.8/site-packages/guake/utils.py
thanks @stiltr, it worked perfectly! I can confirm on pop os!
Downgrade to 3.6.3 helped me
https://ubuntu.pkgs.org/20.04/ubuntu-universe-i386/guake_3.6.3-2_all.deb.html works, ty.
Can confirm that https://github.com/Guake/guake/pull/1774/commits/9bfd2bcbe326dc5d5500cbc6a01d73535ddb0f27 works
It works out here too! v3.7.0
3.6.3 stopped working after recent update.... So I guess I'm off to find a replacement....
Hi! This is still happening to me in version 3.7.0 in a virtual machine
@JanezStupar & @Iakobs, did you try https://github.com/Guake/guake/issues/1720#issuecomment-741529867?