Amethyst
Amethyst copied to clipboard
'Swap windows using mouse' does not work on the bottom display of a stacked monitor layout
To Reproduce:
- Enable 'Mouse' -> 'Swap windows using mouse' in the Preferences of Amethyst
- Use a monitor layout with one display on top of another display.
- Open two or more applications on the bottom display. Then click and drag one of the applications over another application.
Expected Behavior:
- The applications swap their places when the mouse button is released. The dragged application replaces the application it was dragged upon and the dragged upon application replaces the dragged application.
Actual Behavior:
- The dragged application remains in a floating state at the place where it was dragged until another application on the same display gains focus. Then it jumps back to its initial place in the layout before it was dragged.
Debug Info (The issue occurs on the 3840x1080 screen which is below the 3200x1800 screen):
Version: 0.15.5 (92)
OS version: Version 12.0.1 (Build 21A559)
Screens:
(0.0, 0.0, 1512.0, 982.0) [(0.0, 0.0, 1512.0, 982.0)]
(-3441.0, 982.0, 3200.0, 1800.0) [(-3441.0, -1800.0, 3200.0, 1800.0)]
(-3840.0, -98.0, 3840.0, 1080.0) [(-3840.0, 0.0, 3840.0, 1080.0)]
Configuration:
float-small-windows: 1
new-windows-to-main: 0
mod2: (
option,
shift,
control
)
debug-layout-info: 1
floating: (
)
ignore-menu-bar: 0
follow-space-thrown-windows: 1
layouts: (
tall,
wide,
fullscreen,
column,
"middle-wide",
row,
floating,
bsp,
"two-pane"
)
mouse-swaps-windows: 1
mouse-resizes-windows: 1
focus-follows-mouse: 1
use-canary-build: 1
window-resize-step: 5
screen-padding-right: 0
mod1: (
option,
shift
)
window-minimum-height: 0
restore-layouts-on-launch: 1
window-margin-size: 34
mouse-follows-focus: 1
window-margins: 0
enables-layout-hud-on-space-change: 1
screen-padding-left: 0
screen-padding-bottom: 0
enables-layout-hud: 1
window-minimum-width: 0
floating-is-blacklist: 1
screen-padding-top: 0
Screencast:
For reference this issue does not occur (dragged upon applications swap places as expected on all screens) if the 3200x1800 screen is to the left of the 3840x1080 screen:
Version: 0.15.5 (92)
OS version: Version 12.0.1 (Build 21A559)
Screens:
(0.0, 0.0, 1512.0, 982.0) [(0.0, 0.0, 1512.0, 982.0)]
(-7040.0, -818.0, 3200.0, 1800.0) [(-7040.0, 0.0, 3200.0, 1800.0)]
(-3840.0, -98.0, 3840.0, 1080.0) [(-3840.0, 0.0, 3840.0, 1080.0)]
Configuration:
mod2: (
option,
shift,
control
)
float-small-windows: 1
enables-layout-hud: 1
window-margin-size: 34
restore-layouts-on-launch: 1
mouse-follows-focus: 1
new-windows-to-main: 0
layouts: (
tall,
wide,
fullscreen,
column,
"middle-wide",
row,
floating,
bsp,
"two-pane"
)
mod1: (
option,
shift
)
window-resize-step: 5
floating-is-blacklist: 1
mouse-resizes-windows: 1
debug-layout-info: 1
use-canary-build: 1
screen-padding-top: 0
window-margins: 0
ignore-menu-bar: 0
mouse-swaps-windows: 1
follow-space-thrown-windows: 1
enables-layout-hud-on-space-change: 1
focus-follows-mouse: 1
floating: (
)
screen-padding-bottom: 0
screen-padding-right: 0
window-minimum-height: 0
screen-padding-left: 0
window-minimum-width: 0
I would love to contribute a fix for this issue. I do however run into the following compile error of a pod dependency when trying to compile Amethyst from the development branch on a M1 Mac: /Amethyst/Pods/LoginServiceKit/Lib/LoginServiceKit/LoginServiceKit.swift:74:94: Value of optional type 'Unmanaged<CFArray>?' must be unwrapped to refer to member 'takeRetainedValue' of wrapped base type 'Unmanaged<CFArray>' /Amethyst/Pods/LoginServiceKit/Lib/LoginServiceKit/LoginServiceKit.swift:93:94: Value of optional type 'Unmanaged<CFArray>?' must be unwrapped to refer to member 'takeRetainedValue' of wrapped base type 'Unmanaged<CFArray>'
I also have the same issue which bother me a lot.
I'm also experiencing this issue with this feature
I too am experiencing this issue.