Amethyst icon indicating copy to clipboard operation
Amethyst copied to clipboard

Focus Follows Mouse Not Working With Multiple Displays

Open mfickett opened this issue 3 years ago • 4 comments

Describe the bug

When an external monitor is connected to my MacBook Pro, focus follows mouse does not work at all. As mentioned in https://github.com/ianyh/Amethyst/issues/798#issuecomment-469764459 (but that's mostly about fullscreen windows which I'm not using).

Applications: Tried with: Google Chrome, Finder, Activity Monitor.

To Reproduce Steps to reproduce the behavior:

  1. Connect an external 30" monitor.
  2. Open 2x Chrome windows, 1x Activity Monitor on the laptop's monitor.
  3. Open 2x Chrome windows, 1x Finder on the external monitor.
  4. Enable focus follows mouse in Amethyst.
    • Expected: Mousing over windows focuses each window.
    • Observed: Mousing over windows does not change focus.
  5. Disconnect external monitor. (Do not relaunch Amethyst or change settings.)
    • Observed: Now mousing over windows changes focus.

Versions:

  • macOS: 11.2.1
  • Amethyst: 0.15.4 (91)

Debug Info

Version: 0.15.4 (91)

OS version: Version 11.2.1 (Build 20D74)

Has permissions: true

Screens:
	(0.0, 0.0, 1792.0, 1120.0) [(0.0, 0.0, 1792.0, 1120.0)]
	(388.0, 1120.0, 3840.0, 2160.0) [(388.0, -2160.0, 3840.0, 2160.0)]

Manageable applications:
	talagent (com.apple.talagent)
	AppSSOAgent (com.apple.AppSSOAgent)
	Finder (com.apple.finder)
	1Password 7 (com.agilebits.onepassword7)
	Google Chrome (com.google.Chrome)
	coreautha (com.apple.LocalAuthentication.UIAgent)
	kitty (net.kovidgoyal.kitty)
	Slack (com.tinyspeck.slackmacgap)

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

mfickett avatar May 19 '21 17:05 mfickett

@mfickett AutoRaise implements this well. Can we use this code?

DanielAsher avatar Mar 14 '22 15:03 DanielAsher

Got the same problem. Focus Follows Mouse was one of the main reasons for installing Amethyst. Coming from Linux to Macos this is the cause of much frustration and pain. Please, please move this bug up the priority list. I keep copying and pasting wrong things since i forget that i have to click 2 times on a window in Macos.

KirilOkun avatar Jul 07 '22 12:07 KirilOkun

Same problem for me... Any update on this? :)

garrofederico avatar Nov 24 '22 09:11 garrofederico