Move window to space (on same display) not working
Hey,
First off, I'm really enjoying PaperWM.spoon. It's really interesting to use something like this on MacOS. Kudos for that.
It seems like I can't move a window from one space to another on the same monitor.
A demo:
https://github.com/user-attachments/assets/1e2aa48c-8913-47a4-a37d-318a0398891b
Here you see me
- Switch from space 4 to space 3
- Switch back from space 3 to space 4
- Attempt to move the window from space 4 to space 3
- Notice that the window didn't move
- Switch back to space 4 and see that its still there
It seems that the window is moved out of the tiling layer, but remains in the previous space.
I can move a window from a space on a separate screen to another screen. Curious.
Any clue what's happening?
Thanks! ✌️
Hey, sorry for the delay. Could you check a few things:
-
Make sure you're using the latest version of Hammerspoon and have cloned the latest version of PaperWM.spoon
-
Use the
switch_space_l,switch_space_r,switch_space_1, etc actions instead of the MacOS swipe left / right orctrl+ arrow key methods to switch space. This lets PaperWM try to keep sync between what space it thinks is focused and what space is actually visible on screen. -
Make sure you've selected / deselected the required Mission Control options in https://github.com/mogenson/PaperWM.spoon?tab=readme-ov-file#installation step #2
-
Can you copy and paste the output from the Hammerspoon Console when invoking the
move_window_1, etc action.
Hi, this is an issue for all window in MacOS Sequoia. There's no known solution at the moment. Here are my attempts: https://github.com/Hammerspoon/hammerspoon/issues/3698#issuecomment-2484062012
The current work around is to toggle the window as floating and manually drag the window to the new space. Toggle the window back from floating and it will be tiled on the new space.
I added a way to move a window from one space to another by automating the mouse cursor in Mission Control. Please see if #57 fixes this issue.
Merged #57
The current work around is to toggle the window as floating and manually drag the window to the new space. Toggle the window back from floating and it will be tiled on the new space.
I've noticed that this works.
I've noticed the same that with trying to move windows from my laptop screen to my main monitor, it's very unreliable wether it'll actually move the window to the other window and tiling group.