Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throwing windows to other spaces fails on macOS 15 beta 1 #1662

Closed
FelixLisczyk opened this issue Jun 13, 2024 · 17 comments
Closed

Throwing windows to other spaces fails on macOS 15 beta 1 #1662

FelixLisczyk opened this issue Jun 13, 2024 · 17 comments

Comments

@FelixLisczyk
Copy link

FelixLisczyk commented Jun 13, 2024

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
@swibrow
Copy link

swibrow commented Jun 14, 2024

I have this issue on 14.5

@ianyh
Copy link
Owner

ianyh commented Jun 15, 2024

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.

@mischavandenburg
Copy link

I'm having the same issue on 14.5.

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

@ianyh
Copy link
Owner

ianyh commented Jun 19, 2024

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).

@craftWolf
Copy link

craftWolf commented Jul 1, 2024

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.

@asyncopation
Copy link

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:
koekeishiya/yabai#2380

@rahul1-bot
Copy link

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

@cheese-melted
Copy link

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

@porkloin
Copy link

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? koekeishiya/yabai#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 😢

@FeernandoOFF
Copy link

Any updates on this one? 👀

@kolchurinvv
Copy link

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

@rahul1-bot
Copy link

rahul1-bot commented Sep 17, 2024 via email

@rahul1-bot
Copy link

rahul1-bot commented Sep 17, 2024 via email

@ianyh
Copy link
Owner

ianyh commented Sep 17, 2024

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.

@fvcci
Copy link

fvcci commented Sep 23, 2024

same issue with me

@jcarlos7121
Copy link

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

@ianyh ianyh closed this as not planned Won't fix, can't repro, duplicate, stale Sep 28, 2024
@ianyh
Copy link
Owner

ianyh commented Sep 28, 2024

See #1682

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests