Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guake window follows mouse across monitors till it loses focus #1738

Closed
blacktav opened this issue Mar 19, 2020 · 6 comments
Closed

Guake window follows mouse across monitors till it loses focus #1738

blacktav opened this issue Mar 19, 2020 · 6 comments

Comments

@blacktav
Copy link

blacktav commented Mar 19, 2020

Describe the bug

With preferences set as "Appear on Mouse Display"

After the guake window opens with focus on the monitor containing the mouse; the guake window then follows the mouse across other monitors

If guake loses focus, window no longer follows mouse but focus must go to another window on the same monitor.

Behaviour does not occur on workspaces with no open windows

Expected behavior

The window should NOT follow the mouse

Work-around

Removing the commit 5205ce2 as described in Issue #1720 corrects this behaviiour though clearly might have other effects


Platform ArchLinux

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: True

  • Monitor: 0 - IVM DP1
    • Geometry: 1080 x 1920 at 1080, 0
    • Size: 520 x 290 mm²
    • Primary: True
    • Refresh rate: 60.00 Hz
    • Subpixel layout: unknown
  • Monitor: 1 - IVM HDMI1
    • Geometry: 1080 x 1920 at 0, 0
    • Size: 520 x 290 mm²
    • Primary: False
    • Refresh rate: 60.00 Hz
    • Subpixel layout: unknown
@piszczek
Copy link

this is most irritating thing after update;

I downgraded version till this will be fixed ;(

@iconoclasthero
Copy link

iconoclasthero commented Apr 20, 2020

So I think I'm experiencing the same issue. Here's what happens:
1 With mouse on screen 1, hit F12 to open on screen 1. << Guake opens on screen 1 >>
2 Move mouse to screen 2. << Guake stays on screen 1 >>
3 Click on screen 2. << Guake moves to screen 2 >>
4 Click back on screen 1 and leave mouse there. << Guake stays on screen 2 >>
5 Hit F12. << Guake is hidden >>
6 Hit F12. << Guake is shown on screen 1 >>

If I modify that progression:
1 With mouse on screen 1, hit F12 to open on screen 1. << Guake opens on screen 1 >>
1.5 Click on screen 1. << Guake remains open on screen 1 >>
2 Move mouse to screen 2. << Guake stays on screen 1 >>
3 Click on screen 2. << Guake remains on screen 1 >>
4 Click back on screen 1 and leave mouse there. << Guake stays on screen 1 >>
5 Hit F12. << Guake is hidden >>
6 Hit F12. << Guake is shown on screen 1 >>

Is this the same behavior? I'm having another multi-monitor issue but it might be related.

VintageCake referenced this issue May 6, 2020
…ow manager

Expect handling from accel-key fullscreen toggle, also handle from window state changed.

Because if you bind same accel-key for fullscreen in window manager, you will not trigger it
from Guake toggle fullscreen, instead from wm.

This should fix wierd window size & position when first using Guake fullscreen toggle, then
toggle fullscreen by wm hotkey.
@GuzTech
Copy link

GuzTech commented May 10, 2020

I can confirm that I have the exact same issue as @iconoclasthero described above.

@justinfx
Copy link

Confirming same issue on Ubuntu 20.04
Guake Version: 3.7.0

Disabling the Appear on mouse display option is not an acceptable option since one usually wants it to appear in the context of the mouse. But a visible terminal should not then start following the mouse. Even the workaround of clicking to focus another window in the same display first, before clicking into another display isn't really easy to remember to do every time. A fix is very much appreciated!

@stiltr
Copy link

stiltr commented Dec 9, 2020

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.

@Davidy22
Copy link
Collaborator

#1774 was closed, but an equivalent #1775 was merged that fixes this so closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants