sam
May 28, 2024, 10:42am
243
navigating spaces seems to be a general problem with macOS 14.5. Other apps also have issues:
opened 05:19PM - 23 Apr 24 UTC
closed 11:22AM - 18 May 24 UTC
typing yabai -m window --space 2 --focus doesn't yield any results.
SIP is dis… abled.
config:
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
sudo yabai --load-sa
# global settings
yabai -m config mouse_follows_focus on
yabai -m config focus_follows_mouse on
yabai -m config window_placement second_child
yabai -m config split_ratio 0.50
yabai -m config mouse_modifier alt
yabai -m config mouse_action1 move
yabai -m config mouse_action2 resize
# general space settings
yabai -m config layout bsp
yabai -m config top_padding 5
yabai -m config bottom_padding 5
yabai -m config left_padding 5
yabai -m config right_padding 5
yabai -m config window_gap 5
echo "yabai configuration loaded.."
#disable soecific apps
yabai -m rule --add app="^System Settings$" manage=off
yabai -m rule --add app="^Calculator$" manage=off
yabai -m rule --add app="^Finder$" manage=off
yabai -m rule --add app="^Messages$" manage=off
yabai -m rule --add app="^Obsidian$" manage=off
borders active_color=0xF0BE8900 inactive_color=0xff494d64 width=3.0 style=round hidpi=on&
opened 08:55AM - 13 May 24 UTC
the following code snippet used to work for me, but stopped working a few weeks … ago. the snippet is responsible for finding the current terminal window, moving it to the active space, and activating it. unfortunately, the window is not moved by hammerspoon. the line`hs.spaces.moveWindowToSpace(app:mainWindow(), currentSpace)` is not working as it should, and returns `true` even though the window was not succesfully moved.
can anyone reproduce the issue and/or does anyone have any ideas on how to fix this? unfortunately, i do not exactly know what i have changed, it could be also be a macOS update that is at fault here. i use macOS 14.5 Beta (23F5064f).
```lua
-- quickly open kitty (terminal)
hs.hotkey.bind({"cmd"}, "g", function()
local windowPosition = '0.2,0.4,0.8,0.9'
-- Get current space
local currentSpace = hs.spaces.focusedSpace()
-- Get kitty app
local app = hs.application.get("kitty")
-- If app already open:
if app then
-- If no main window, then open a new window
if not app:mainWindow() then
app:selectMenuItem("New OS Window", true)
hs.timer.doAfter(.05,function ()
app:mainWindow():raise()
app:mainWindow():moveToUnit(windowPosition)
end)
-- If app is already in front, then hide it
elseif app:isFrontmost() then
app:hide()
-- If there is a main window somewhere, bring it to current space and to front
else
-- First move the main window to the current space
hs.spaces.moveWindowToSpace(app:mainWindow(), currentSpace)
-- Activate the app
app:activate()
--Raise the main window and position correctly
app:mainWindow():raise()
app:mainWindow():moveToUnit(windowPosition)
end
-- If app not open, open it
else
hs.application.launchOrFocus("kitty")
hs.timer.doAfter(.2,function ()
app = hs.application.get("kitty")
app:mainWindow():raise()
app:mainWindow():moveToUnit(windowPosition)
end)
end
end)
```
same problem here, quite annoying, TS is loosing a key functionality. Anyone has solved this issue, a fix or workaround ?
Same issue with 14.5: Can’t move windows between spaces. I may have to go back to Linux.
atoxx
June 10, 2024, 3:29pm
246
As far as i heard from the Dev, the App seems to be discontinued, at least for now
Where did you hear that? I mean, it seems pretty obvious, but as far as I’m aware it was never stated anyplace.
atoxx
June 10, 2024, 7:10pm
248
Well, maybe no discontinued exaclty, but the Dev said, he has no time for it atm, and this is a while ago, and due nothing changed, it seems obvious
Yeah that’s what I thought - let out to pasture in order to slowly die.
I’ve been looking for a replacement but never really found anything so robust… closest that I came was https://spacecapsule.app
Yes, the inability to move windows (instances of applications) from space-to-space in grid view is tough to deal with: I’ve been using grid-based window managers since the SunOS days (uggh).
As it stands, I navigate the grid using the Cmd-Arrow functions and when I need to move a window, hot corner to Mission Control and move windows in spaces there.
I’d really welcome a fix if the APIs aren’t totally horked.
(I’m on Sonoma 14.5 on an M1, FWIW. I held off upgrades for years)
funk
July 11, 2024, 1:23pm
251
I am on 14.5 and still able to use TS3. Not sure what I have done differently but I am on an M1 MBP.
Thank you… think I’m going to switch to this. Looks promising. Not being able to drag windows between spaces kind of broke the camels back here.