ianyh / Amethyst

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

BSP ghost window #1431

Open qgluca opened 1 year ago

qgluca commented 1 year ago

Describe the bug I've just updated to 0.18.0 and I tried BSP opening MS Teams and Firefox in a space and Adobe Acrobat Reader in a second space. On the first launch it worked correctly (fisrt space half Teams, half FF; second space Acrobat full screen), but when I changed to second space and came back it put Teams on the first half and the second half was divided into 2 tiles, one with FF and the second empty.

Applications: MS Teams and Firefox in the first space and Adobe Acrobat Reader in the second space.

To Reproduce Two applications on the first space and one application on the second space

Expected behavior First space divided vertically with one app per half, second space with full screen app.

Screenshots Screenshot 2023-02-20 alle 09 48 59

Versions:

Debug Info

Version: 0.18.0 (100)

OS version: Version 13.2.1 (Build 22D68)

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

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

Manageable applications:
    talagent (com.apple.talagent)
    Microsoft Teams (com.microsoft.teams)
    Firefox (org.mozilla.firefox)
    Finder (com.apple.finder)
    OneDrive (com.microsoft.OneDrive-mac)
    Shottr (cc.ffitch.shottr)
    Acrobat Reader (com.adobe.Reader)
    Docker Desktop (com.electron.dockerdesktop)
    Virtual Machine Service (com.apple.Virtualization.VirtualMachine)
    UserNotificationCenter (com.apple.UserNotificationCenter)
    Single Sign-On (com.apple.AppSSOAgent)
    coreautha (com.apple.LocalAuthentication.UIAgent)
    Anteprima (com.apple.Preview)
    iTerm2 (com.googlecode.iterm2)
garcia5 commented 1 year ago

image Similar issue happening to me, BSP layout leaving a lot of blank space. This seems to be due to my display being ultrawide, BSP so far has been working okay on a normal 16:9 display.

Versions: macOS: 13.1 (22C65) Amethyst: 0.18.0

Debug info:

Version: 0.18.0 (100)

OS version: Version 13.1 (Build 22C65)

Screens:
    (0.0, 0.0, 3440.0, 1440.0) [(0.0, 0.0, 3440.0, 1440.0)]
    (859.0, -1050.0, 1680.0, 1050.0) [(859.0, 1440.0, 1680.0, 1050.0)]

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

Manageable applications:
    Finder (com.apple.finder)
    talagent (com.apple.talagent)
    Single Sign-On (com.apple.AppSSOAgent)
    Cisco AnyConnect Secure Mobility Client (com.cisco.anyconnect.gui)
    coreautha (com.apple.LocalAuthentication.UIAgent)
    kitty (net.kovidgoyal.kitty)
    Google Chrome (com.google.Chrome)
    Slack (com.tinyspeck.slackmacgap)
    zoom.us (us.zoom.xos)
    Notes (com.apple.Notes)
    Discord (com.hnc.Discord)
    Fork (com.DanPristupov.Fork)
    Spotify (com.spotify.client)
jhernandezMagnite commented 1 year ago

A reliable way to replicate this issue (in my experience) is to set your layout to BSP and open and close the osx system settings window a few times - each one will continue to take up a window space

seanwarmanshine commented 5 months ago

Also getting this issue, seems to happen if I switch between mac workspaces.