ianyh / Amethyst

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

v0.15.4 stops working after a few days. --debug-info shows "Has permissions: false" #1072

Open alexramos1 opened 3 years ago

alexramos1 commented 3 years ago

Describe the bug v0.15.4 stops working (i.e. does not layout any windows and does not respond to any keyboard shortcut commands) after a few days. --debug-info shows "Has permissions: false". Nothing works. Windows just sit there and stay at their current locations. Even mod1+z (force window layout) has no effect.

Applications: talagent (com.apple.talagent) AppSSOAgent (com.apple.AppSSOAgent) Finder (com.apple.finder) Slack (com.tinyspeck.slackmacgap) Postman Agent (com.postmanlabs.agent.mac) Microsoft Outlook (com.microsoft.Outlook) storeuid (com.apple.storeuid) coreautha (com.apple.LocalAuthentication.UIAgent) Google Chrome (com.google.Chrome) Microsoft PowerPoint (com.microsoft.Powerpoint) Microsoft Teams (com.microsoft.teams) Eclipse (org.eclipse.platform.ide) Terminal (com.apple.Terminal) Postman (com.google.Chrome.app.Default-fhbjgbiflinjbdggehcddcbncdddomop) zoom.us (us.zoom.xos)

To Reproduce Reboot computer. Start Amethyst. Try any of the hotkeys.

Expected behavior For instance when selecting a layout, the windows should get organized into that layout.

Screenshots N/A

Versions:

Debug Info

Version: 0.15.4 (91)

OS version: Version 10.15.7 (Build 19H2)

Has permissions: false

Screens:
    (0.0, 0.0, 2560.0, 1440.0) [(0.0, 0.0, 2560.0, 1440.0)]
    (-1440.0, 0.0, 1440.0, 900.0) [(-1440.0, 540.0, 1440.0, 900.0)]
    (2560.0, 280.0, 1920.0, 1200.0) [(2560.0, -40.0, 1920.0, 1200.0)]

Manageable applications:
    talagent (com.apple.talagent)
    AppSSOAgent (com.apple.AppSSOAgent)
    Finder (com.apple.finder)
    Slack (com.tinyspeck.slackmacgap)
    Postman Agent (com.postmanlabs.agent.mac)
    Microsoft Outlook (com.microsoft.Outlook)
    storeuid (com.apple.storeuid)
    coreautha (com.apple.LocalAuthentication.UIAgent)
    Google Chrome (com.google.Chrome)
    Microsoft PowerPoint (com.microsoft.Powerpoint)
    Microsoft Teams (com.microsoft.teams)
    Eclipse (org.eclipse.platform.ide)
    Terminal (com.apple.Terminal)
    Postman (com.google.Chrome.app.Default-fhbjgbiflinjbdggehcddcbncdddomop)
    zoom.us (us.zoom.xos)

Configuration:
focus-follows-mouse: 0
use-canary-build: 1
window-minimum-height: 0
floating: (
        {
        id = "org.eclipse.platform.ide";
        "window-titles" =         (
            "Create New File"
        );
    }
)
floating-is-blacklist: 0
float-small-windows: 1
window-margins: 1
debug-layout-info: 1
mod1: (
    option,
    shift
)
mod2: (
    option,
    shift,
    control
)
follow-space-thrown-windows: 1
enables-layout-hud: 1
screen-padding-top: 0
ignore-menu-bar: 0
window-minimum-width: 0
mouse-follows-focus: 1
screen-padding-right: 0
screen-padding-left: 0
mouse-swaps-windows: 1
restore-layouts-on-launch: 1
screen-padding-bottom: 0
enables-layout-hud-on-space-change: 1
new-windows-to-main: 0
window-resize-step: 5
layouts: (
    tall,
    wide,
    fullscreen,
    column,
    "middle-wide",
    "widescreen-tall",
    bsp
)

Additional context

I have checked the accessibility permissions and Amethyst is enabled. Amethyst worked fine for the first few days after I installed it. Then it seemed to degrade slowly over 2-3 days. Some keyboard shortcuts stopped working before others. And then it completely stopped working.

freebrowser1 commented 3 years ago

System settings => Accessibility => Check 'Amethyst'.

Screenshot 2020-11-19 at 11 19 37
alexramos1 commented 3 years ago

My configuration looks the same as shown in the screenshot - Amethyst checkbox under Privacy -> Accessibility is checked.

lewlin commented 3 years ago

I have the same problem. Permissions are correctly given by windows do not float.

Version: 0.15.4 (91)

OS version: Version 10.15.7 (Build 19H114)

Has permissions: false

Screens:
    (0.0, 0.0, 1792.0, 1120.0) [(0.0, 0.0, 1792.0, 1120.0)]

Manageable applications:
    talagent (com.apple.talagent)
    AppSSOAgent (com.apple.AppSSOAgent)
    Google Chrome (com.google.Chrome)
    iTerm2 (com.googlecode.iterm2)
    Slack (com.tinyspeck.slackmacgap)
    Preview (com.apple.Preview)
    Finder (com.apple.finder)
    Code42 (com.backup42.desktop)
    storeuid (com.apple.storeuid)
    Xcode (com.apple.dt.Xcode)
    System Preferences (com.apple.systempreferences)

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

Permissions thing is an error in the debug info script so it's likely unrelated.