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

Incorrect focus on resized windows #1595

Open
hykelvinlee42 opened this issue Jan 29, 2024 · 0 comments
Open

Incorrect focus on resized windows #1595

hykelvinlee42 opened this issue Jan 29, 2024 · 0 comments

Comments

@hykelvinlee42
Copy link

Describe the bug
With "focus follows mouse" enabled, resize windows in a vertical screen setup. In my case, in a wide layout, expanding window 1 and Shrinking windows 2 and 3 (see screenshot below). When the mouse cursor moves to the bottom area of window 1 (around the original top area of windows 2 and 3), it focuses windows 2 and 3 instead.

Applications:
Amethyst

To Reproduce

  1. In a vertical screen setup, enable "focus follows mouse".
  2. Expand a window and shrink another window in the vertical screen.
  3. Move the mouse cursor to the bottom of the expanded window in around the original top area of the shrunken window.
  4. It focuses the shrunken window instead of the expanded window.

Expected behavior

It should focus the (correct) expanded window when pointing the bottom of the expanded window.

Screenshots

Screenshot 2024-01-28 at 6 50 33 PM

When the mouse cursor hovers over the red circle area, which was the original top area of the browser application and is now the bottom area of Finder, it focuses the browser instead.

Versions:

  • macOS: 14.2.1 (23C71)
  • Amethyst: 0.20.0 (108)

Debug Info

Version: 0.20.0 (108)

OS version: Version 14.2.1 (Build 23C71)

Screens:
	(0.0, 0.0, 3440.0, 1440.0) [(0.0, 0.0, 3440.0, 1440.0)]
	(-1080.0, -269.0, 1080.0, 1920.0) [(-1080.0, -211.0, 1080.0, 1920.0)]

Configuration:
floating: (
)
window-margins: 1
screen-padding-bottom: 5
float-small-windows: 1
use-canary-build: 0
enables-layout-hud: 1
window-minimum-height: 0
window-resize-step: 5
floating-is-blacklist: 1
screen-padding-top: 5
debug-layout-info: 0
screen-padding-left: 5
ignore-menu-bar: 0
disable-padding-on-builtin-display: 1
screen-padding-right: 5
layouts: (
    tall,
    wide,
    floating
)
follow-space-thrown-windows: 1
mod1: (
    option,
    shift
)
mouse-follows-focus: 0
enables-layout-hud-on-space-change: 1
mouse-resizes-windows: 1
window-max-count: 0
mod2: (
    option,
    shift,
    control
)
window-margin-size: 10
new-windows-to-main: 0
window-minimum-width: 0
focus-follows-mouse: 1
restore-layouts-on-launch: 0
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

1 participant