ianyh / Amethyst

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

Some Applications Don't Tile Randomly #1398

Open landoncrabtree opened 1 year ago

landoncrabtree commented 1 year ago

Describe the bug There seems to be an issue with some applications getting tiled properly. Sometimes they will tile properly, and other times they just launch like a regular application, ignoring the tiling layout. I believe it seems to be an issue with identifying if the window is floating or not.

Applications: Amethyst, Terminal

To Reproduce Tile applications (ie: Firefox) Open Terminal - Sometimes it will tile, othertimes it will not. Seems to be random.

Expected behavior Application should tile everytime.

Screenshots https://gyazo.com/fdc18b1fa7cfac49efa3e7a7a3fb29b5

Versions:

Debug Info

$ /Applications/Amethyst.app/Contents/MacOS/Amethyst --debug-info [--include-apps]

Note: --include-apps will list your manageable applications, but is optional if you don't want to list that.

Version: 0.17.0 (97)

OS version: Version 13.1 (Build 22C65)

Screens:
    (0.0, 0.0, 4096.0, 1152.0) [(0.0, 0.0, 4096.0, 1152.0)]

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

Additional context Add any other context about the problem here.

jaming715 commented 1 year ago

Same issue here

TomEstelrich commented 1 year ago

Same happens to me randomly

gilitos92 commented 1 year ago

Same issue here

0xCUB3 commented 1 year ago

Yeah I'm having this issue on 13.2 on my M2 Pro MBP

pgroce commented 1 year ago

Same on build 99 and Monterey

Version: 0.18.0b2 (99)

OS version: Version 12.6.3 (Build 21G419)

Screens:
    (0.0, 0.0, 3008.0, 1692.0) [(0.0, 0.0, 3008.0, 1692.0)]

Configuration:
window-margin-size: 0
screen-padding-bottom: 0
restore-layouts-on-launch: 1
layouts: (
    tall,
    wide,
    bsp,
    fullscreen,
    column
)
float-small-windows: 1
enables-layout-hud: 1
window-resize-step: 5
window-minimum-width: 0
new-windows-to-main: 0
window-margins: 0
screen-padding-right: 0
enables-layout-hud-on-space-change: 1
mouse-follows-focus: 0
screen-padding-left: 0
focus-follows-mouse: 0
floating: (
        {
        id = "com.apple.finder";
        "window-titles" =         (
        );
    }
)
use-canary-build: 1
window-max-count: 0
ignore-menu-bar: 0
follow-space-thrown-windows: 1
debug-layout-info: 1
mod2: (
    option,
    shift,
    control
)
floating-is-blacklist: 1
window-minimum-height: 0
screen-padding-top: 0
mod1: (
    option,
    shift
)
pmoody- commented 1 year ago

I have this issue on my m2 as well. additionally, if I try to click on the amethyst icon in the menu bar, amethyst often doesn't respond for several seconds. if I switch desktops, left or right, I can make the icon on the new desktop respond.

ProductName:        macOS
ProductVersion:     13.3.1
ProductVersionExtra:    (a)
BuildVersion:       22E772610a
version 0.19.0 (103)
divido commented 1 year ago

This happens for me with Terminal as well. I notice it randomly throughout the day. Usually around focus switches, sometimes to different tabs within the Terminal window and sometimes when switching to other applications. Amethyst drops (or maybe floats) the Terminal window, then reflows everything else on top.

To get my terminal back, I usually restart Amethyst. This has a side effect of rearranging which windows are where. A minor, but frequent, annoyance.