ianyh / Amethyst

Automatic tiling window manager for macOS à la xmonad.
https://ianyh.com/amethyst/
MIT License
14.82k stars 487 forks source link

Clicking windows sometimes (I can't identify what makes it happen) swaps window layout #1043

Closed brandoncc closed 4 years ago

brandoncc commented 4 years ago

Describe the bug Sometimes, when I click on a non-focused window, using the mouse, the window is moved to the main position of my layout and not actually focused.

Applications: iterm2 and brave usually.

To Reproduce Steps to reproduce the behavior:

I actually don't know.

Expected behavior I just expect the window I clicked on to to be focused, but the layout should change.

Versions:

Debug Info

Version: 0.15.3 (88)

OS version: Version 10.15.6 (Build 19G73)

Has permissions: false

Screens:
    (0.0, 0.0, 2560.0, 1440.0) [(0.0, 0.0, 2560.0, 1440.0)]

Manageable applications:
    ViewBridgeAuxiliary (com.apple.ViewBridgeAuxiliary)
    talagent (com.apple.talagent)
    ViewBridgeAuxiliary (com.apple.ViewBridgeAuxiliary)
    QuickLookUIService (PID 352) (com.apple.quicklook.QuickLookUIService)
    Finder (com.apple.finder)
    Control Strip (com.apple.controlstrip)
    AppSSOAgent (com.apple.AppSSOAgent)
    EmojiFunctionRowIM (com.apple.inputmethod.EmojiFunctionRowItem)
    Adobe Acrobat Synchronizer (com.adobe.AdobeResourceSynchronizer)
    TextExpander (com.smileonmymac.textexpander)
    Android File Transfer Agent (com.google.android.mtpagent)
    Pixel Winch (com.pixelwinch.PixelWinch)
    storeuid (com.apple.storeuid)
    1Password 7 (com.agilebits.onepassword7)
    Adobe Desktop Service (com.adobe.acc.AdobeDesktopService)
    Creative Cloud Helper (com.adobe.acc.ads.helper)
    SiriNCService (com.apple.SiriNCService)
    Spark (com.readdle.smartemail-Mac)
    coreautha (com.apple.LocalAuthentication.UIAgent)
    CalNCService (com.apple.CalendarNotification.CalNCService)
    iTerm2 (com.googlecode.iterm2)
    Trello (com.atlassian.trello)
    Discord (com.hnc.Discord)
    TextEdit (com.apple.TextEdit)
    Todoist (com.todoist.mac.Todoist)
    studentd (com.apple.studentd)
    Slack (com.tinyspeck.slackmacgap)
    Tower (com.fournova.Tower3)
    Simulator (com.apple.CoreSimulator.SimulatorTrampoline)
    com.apple.CoreSimulator.CoreSimulatorService (com.apple.CoreSimulator.CoreSimulatorService)
    Basecamp 3 (com.basecamp.basecamp3)
    Figma (com.figma.Desktop)
    Android Messages (com.fluidapp.FluidApp2.Android Messages)
    Brave Browser (com.brave.Browser)

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

Related to: https://github.com/ianyh/Amethyst/issues/989

brandoncc commented 4 years ago

I think I figured out that mine was because I had "Swap windows using mouse" turned on.