ianyh / Amethyst

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

Clockwise mode is inverted for 3-Column layouts #1189

Open martin-braun opened 2 years ago

martin-braun commented 2 years ago

Describe the bug In many layouts clockwise and counter clockwise are trivial to grasp, but what about the 3 column layout? I would expect that if I move focus or swap window clockwise, I would go to the right, the rotational axis should be on the bottom of the screen, because that feels natural. Unfortunately, this is not the case (at least for 3 Column Middle layout). When I move focus clockwise the window to the left will be focused, which feels unnatural to me.

Applications: Any

To Reproduce Steps to reproduce the behavior:

Expected behavior Right window should get focus.

Versions:

Debug Info

$ /Applications/Amethyst.app/Contents/MacOS/Amethyst --debug-info
Version: 0.15.5 (92)

OS version: Version 12.1 (Build 21C52)

Screens:
    (0.0, 0.0, 2048.0, 1280.0) [(0.0, 0.0, 2048.0, 1280.0)]

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

Additional context The reason why it feels odd is because I use control+option+J for counter-clockwise and control+option+L for clockwise. If my bug is rather a subjective opinion I would be happy if the rotational axis position can be configured for layouts that have either only rows or only columns. On layouts that feature all orientations the rotational axis is in the middle obviously.

rublev commented 2 years ago

+1 here. identical issue lol