Amethyst icon indicating copy to clipboard operation
Amethyst copied to clipboard

Throwing windows to other spaces fails on macOS 15 beta 1

Open FelixLisczyk opened this issue 1 year ago • 9 comments

Describe the bug The keyboard shortcuts to throw windows to other spaces don't work in the first beta release of macOS 15.

Applications Amethyst and Safari. The problem applies to other apps as well.

To Reproduce

  1. Launch Amethyst on macOS 15 beta.
  2. Trigger a keyboard shortcut that throws the active window to another space.

Expected behavior The window moves to the new space.

Actual behavior The window flickers for a moment but stays in the current space.

Versions

  • macOS: 15.0 Beta (24A5264n)
  • Amethyst: 0.21.1 (111)

Log Messages The following log messages appear in the Xcode 16.0 beta console (I've checked out the development branch):

14:49:28.723 💚 DEBUG ScreenManager.setNeedsReflow():177 - Screen: 99CDF38A-8253-433F-A741-B3538F7C6E6E -- Window Change: remove(window: <Amethyst.AXWindow: 0x6000005ff440> <Title: Amethyst — Amethyst.xcworkspace> <pid: 12593>)
14:49:28.723 ❤️ ERROR Window.move():388 - failed to set compat aside id: CGError(rawValue: 717863)
14:49:28.762 💚 DEBUG ScreenManager.setNeedsReflow():177 - Screen: 99CDF38A-8253-433F-A741-B3538F7C6E6E -- Window Change: add(window: <Amethyst.AXWindow: 0x6000005ff440> <Title: Amethyst — Amethyst.xcworkspace> <pid: 12593>)
14:49:28.996 💚 DEBUG ScreenManager.setNeedsReflow():177 - Screen: 99CDF38A-8253-433F-A741-B3538F7C6E6E -- Window Change: applicationActivate

FelixLisczyk avatar Jun 13 '24 12:06 FelixLisczyk

I have this issue on 14.5

swibrow avatar Jun 14 '24 10:06 swibrow

This was (partly) fixed in 0.21.1 for macOS 14.5, but macOS 15 might be the actual nail in the coffin for moving windows between spaces.

ianyh avatar Jun 15 '24 01:06 ianyh

I'm having the same issue on 14.5.

Does this mean this won't be possible anymore from here on out?

mischavandenburg avatar Jun 19 '24 04:06 mischavandenburg

The mechanism by which we do it is no longer possible, it seems. Until someone figures out a different way (which may very well not be possible, particularly with SIP enabled), then we are out of luck. I don't really have the bandwidth to do that kind of diving, but I'm going to keep my eye on it to see if anything changes (on the open source end or the Apple end).

ianyh avatar Jun 19 '24 15:06 ianyh

I experienced the same issue on macOS 14.5 and updated the app to 0.21.1 but that doesn't fix it for me, I can only throw the Amethyst Preferences window but not others. When I press the keyboard shortcut it just un-focuses the windows for me.

PS: Just providing some input for this issue.

craftWolf avatar Jul 01 '24 09:07 craftWolf

Same issue on 13.6.8, same behavior as the above comment describes.

Worth noting this is an issue on other MacOS window managers as well: https://github.com/koekeishiya/yabai/issues/2380

asyncopation avatar Aug 10 '24 01:08 asyncopation

I am using the latest version of amethyst on macOS 15 beta 3 and Throwing windows to other spaces is not working.

rahul1-bot avatar Aug 13 '24 00:08 rahul1-bot

I have the same problem after my recent update: 13.6.9 Window does glitch a bit before nothing happening.

cheese-melted avatar Aug 16 '24 01:08 cheese-melted

Just updated to Sequoia beta on one of my machines and am having the same issue.

It looks like yabai has a solution, they closed some stuff out this week? https://github.com/koekeishiya/yabai/issues/2380

It requires their "scripting addition" (AKA disabling SIP) which AFAIK isn't something amethyst has ever required. Sad to see this functionality get broken through Apple updates 😢

porkloin avatar Aug 17 '24 20:08 porkloin

Any updates on this one? 👀

FeernandoOFF avatar Sep 17 '24 08:09 FeernandoOFF

15.0 is out now and throwing doesn’t work on it 😞

kolchurinvv avatar Sep 17 '24 08:09 kolchurinvv

Yes, Simply use “AeroSpace window management” app for macos. It uses some different ways to manage windows and it’s really amazing.

Get Outlook for iOShttps://aka.ms/o0ukef


From: Vladimir Kolchurin @.> Sent: Tuesday, September 17, 2024 2:20:39 PM To: ianyh/Amethyst @.> Cc: Rahul Sawhney @.>; Comment @.> Subject: Re: [ianyh/Amethyst] Throwing windows to other spaces fails on macOS 15 beta 1 (Issue #1662)

15.0 is out now and throwing doesn’t work on it 😞

— Reply to this email directly, view it on GitHubhttps://github.com/ianyh/Amethyst/issues/1662#issuecomment-2354924149, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APRTAYHVAEVBVLG2NCJ7RH3ZW7UN7AVCNFSM6AAAAABJILKYSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJUHEZDIMJUHE. You are receiving this because you commented.Message ID: @.***>

rahul1-bot avatar Sep 17 '24 09:09 rahul1-bot

Yes, Simply use “AeroSpace window management” app for macos. It uses some different ways to manage windows and it’s really amazing.

Get Outlook for iOShttps://aka.ms/o0ukef


From: Fernando Obregón @.> Sent: Tuesday, September 17, 2024 1:58:09 PM To: ianyh/Amethyst @.> Cc: Rahul Sawhney @.>; Comment @.> Subject: Re: [ianyh/Amethyst] Throwing windows to other spaces fails on macOS 15 beta 1 (Issue #1662)

Any updates on this one? 👀

— Reply to this email directly, view it on GitHubhttps://github.com/ianyh/Amethyst/issues/1662#issuecomment-2354874963, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APRTAYEFBOOSOULYLLCTSOTZW7RZTAVCNFSM6AAAAABJILKYSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJUHA3TIOJWGM. You are receiving this because you commented.Message ID: @.***>

rahul1-bot avatar Sep 17 '24 09:09 rahul1-bot

I think AeroSpace does its own virtual space thing by showing and hiding sets of windows instead of relying on the native spaces. It's a good solution if you want the functionality, but don't want to mess with SIP. I like the native spaces for a variety of reasons, personally, though it does suck that this seems to be the end of space throwing for Amethyst for now. Maybe Apple will take their underlying window management framework and make it a public API at some point, but I'm not holding my breath.

ianyh avatar Sep 17 '24 15:09 ianyh

same issue with me

fvcci avatar Sep 23 '24 14:09 fvcci

I think this is an evil intention by Apple to force users to use their inferior window management features they released with Sequoia

jcarlos7121 avatar Sep 25 '24 04:09 jcarlos7121

See https://github.com/ianyh/Amethyst/discussions/1682

ianyh avatar Sep 28 '24 16:09 ianyh