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

Prevents Yabai from working correctly. #45

Open
BlueDrink9 opened this issue Aug 16, 2020 · 11 comments
Open

Prevents Yabai from working correctly. #45

BlueDrink9 opened this issue Aug 16, 2020 · 11 comments

Comments

@BlueDrink9
Copy link

See koekeishiya/yabai#524 for details about how it stops Yabai working.
Running hammerspoon without this script enabled is fine, reloading config with this script enabled causes the issue again.
It has worked in the past, so I don't know what has changed.

I have no idea how to go about diagnosing which part of this spoon is causing the issue. Does it mess with accessibility settings or window controls at all?

@dbalatero
Copy link
Owner

Hi @BlueDrink9

I certainly do hook into the Accessibility API, but not really in a tiling window kind of way.

I'm mostly doing things like:

  • getting the currently focused element (e.g the text field you're in)
  • reading the AXValue of the text input
  • moving the cursor, deleting bits of text, etc

See these files:

https://github.com/dbalatero/VimMode.spoon/blob/master/lib/strategies/accessibility_strategy.lua
https://github.com/dbalatero/VimMode.spoon/blob/master/lib/accessibility_buffer.lua

for ways I'm using it.

Is this happening purely because VimMode is running in the background, or is it happening on certain key presses? Like are you in Vim normal mode when the yabai windows break? Or are you not even interacting with the Vim plugin.

Can you record a screen capture video and upload it here, maybe with your keypresses?

Also to look at, when Accessibility APIs are not giving me what I need, i fallback to issuing key presses. Again, this is only relevant if you're in Vim normal mode.

https://github.com/dbalatero/VimMode.spoon/blob/master/lib/strategies/keyboard_strategy.lua

Finally, is there anything interesting in the Hammerspoon console logs to share?

@BlueDrink9
Copy link
Author

BlueDrink9 commented Aug 16, 2020

Not even interacting with it, not in normal mode. So it seems to be just running in the background.
Only one binding.

Here's my config:

local VimMode = hs.loadSpoon('VimMode')
local vim = VimMode:new()
-- vim:enterWithSequence('kv')
vim:bindHotKeys({ enter = {{'ctrl'}, '['} })

-- Check activity monitor for app names.
vim
    :disableForApp('Code')
    :disableForApp('iTerm')
    :disableForApp('kitty')
    :disableForApp('MacVim')
    :disableForApp('Terminal')
    :disableForApp('nvim')

-- Show alert when entering normal mode
vim:shouldShowAlertInNormalMode(true)
vim:shouldDimScreenInNormalMode(false)

Console log shown in video, doesn't look like anything is happening there. Ignore the texshop thing, accidentally opened that just after starting hammerspoon.

Closing hammerspoon doens't immediately fix it, but closing hammerspoon then restarting the terminal app does.

screen recording

Keybindings being used are ctrl+cmd+t and ctrl+cmd+b to open terminal and browser. That's all the keypresses would show if they were seen. (Also alt+hjlk for moving focus between windows)

The start of the recording shows opening new terminal windows with hammerspoon open (having loaded this spoon). The windows do not tile into their correct locations, although yabai resizes windows around them to make room. Instead, the windows are put into default locations, as if they were floating above other windows, which is why they cover up the console window on the left.

Then, I close hammerspoon, restart my terminal app, and open several windows again. This time you can see that new windows tile correctly when they open, even if I close windows and reopen them.

@dbalatero
Copy link
Owner

dbalatero commented Aug 16, 2020

Hmm, the gif is really distorted and I can't read. I'm also confused about what's happening. Can you maybe go into detail about what you expect to see, and what you're seeing happening instead?

Also, could you maybe just paste the Hammerspoon logs? Instead of having them as a few frames in the video?

@BlueDrink9
Copy link
Author

Sure, sorry. The logs are very nondescript.

2020-08-17 10:56:30: Welcome to the Hammerspoon Console!
You can run any Lua code in here.

2020-08-17 10:56:30: -- Lazy extension loading enabled
2020-08-17 10:56:30: -- Loading ~/.hammerspoon/init.lua
2020-08-17 10:56:30: -- Done.
2020-08-17 10:56:46: -- Lazy extension loading enabled
2020-08-17 10:56:46: -- Loading ~/.hammerspoon/init.lua
2020-08-17 10:56:46: -- Loading Spoon: VimMode
2020-08-17 10:56:46: -- Loading extension: inspect
2020-08-17 10:56:46: -- Loading extension: logger
2020-08-17 10:56:46: -- Loading extension: hotkey
2020-08-17 10:56:46: -- Loading extension: application
2020-08-17 10:56:46: -- Loading extension: uielement
2020-08-17 10:56:46: -- Loading extension: canvas
2020-08-17 10:56:46: -- Loading extension: styledtext
2020-08-17 10:56:46: 10:56:46     hotkey: Enabled hotkey ?[
2020-08-17 10:56:46: -- Done.

I've updated the commetn with the screen recording to show a description of what's doing on.

@dbalatero
Copy link
Owner

Out of curiosity, what happens if you switch this line to be false?

vim:shouldShowAlertInNormalMode(false)

Also, what happens if you disable the Vim plugin, but keep the same key binds, binding them to something simple like:

hs.hotkey.bind({'ctrl'}, "[", function()
  hs.alert.show("hi")
end)

Also, is there a verbose mode you can put yabai in to see if any keystrokes are sent to it? Please look and see.

@BlueDrink9
Copy link
Author

BlueDrink9 commented Aug 16, 2020

Another thing I notice is that yabai's tiling happen more slowly (in terms of frame-by-frame change in window size/position) running this compared to when hammerspoon is closed.

vim:shouldShowAlertInNormalMode(false) made no difference to running the plugin normally (did not fix)

Binding the hotkey while disabling the plugin with this made no difference to just disabling the plugin (issue remained absent)

hs.hotkey.bind({'ctrl'}, "[", function()
  hs.alert.show("hi")
end)

Looking at verbose yabai/skhd now

@BlueDrink9
Copy link
Author

BlueDrink9 commented Aug 16, 2020

Verbose logs from yabai without hammerspoon and this plugin:

Click to expand

thread: 213904832 | process_is_observable: loginwindow (2758) is blacklisted! ignoring..
thread: 213904832 | process_is_observable: Dock (2820) is blacklisted! ignoring..
thread: 213904832 | process_is_observable: ViewBridgeAuxiliary (2828) was marked as xpc service! ignoring..
thread: 213904832 | process_is_observable: QuickLookUIService (PID 2822) (2826) was marked as xpc service! ignoring..
thread: 213904832 | process_manager_add_running_processes: Finder (2822) was found! caching psn..
thread: 213904832 | process_is_observable: com.apple.dock.extra (2890) was marked as xpc service! ignoring..
thread: 213904832 | application_observe_notification: kAXCreatedNotification failed with error kAXErrorCannotComplete
thread: 213904832 | application_observe_notification: kAXFocusedWindowChangedNotification failed with error kAXErrorCannotComplete
thread: 213904832 | application_observe_notification: kAXWindowMovedNotification failed with error kAXErrorCannotComplete
thread: 213904832 | application_observe_notification: kAXWindowResizedNotification failed with error kAXErrorCannotComplete
thread: 213904832 | application_observe_notification: kAXTitleChangedNotification failed with error kAXErrorCannotComplete
thread: 213904832 | application_observe_notification: kAXMenuOpenedNotification failed with error kAXErrorCannotComplete
thread: 213904832 | window_manager_create_and_add_window: Google Chrome 2520
thread: 213904832 | window_manager_create_and_add_window: kitty 2547
thread: 213904832 | application_observe_notification: kAXCreatedNotification failed with error kAXErrorCannotComplete
thread: 213904832 | application_observe_notification: kAXFocusedWindowChangedNotification failed with error kAXErrorCannotComplete
thread: 213904832 | application_observe_notification: kAXWindowMovedNotification failed with error kAXErrorCannotComplete
thread: 213904832 | application_observe_notification: kAXWindowResizedNotification failed with error kAXErrorCannotComplete
thread: 213904832 | application_observe_notification: kAXTitleChangedNotification failed with error kAXErrorCannotComplete
thread: 213904832 | application_observe_notification: kAXMenuOpenedNotification failed with error kAXErrorCannotComplete
thread: 213904832 | yabai: scripting-addition payload was already injected into Dock.app!
thread: 213904832 | yabai: osax version = 1.0.14, osax attrib = 0x3F
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=workrave manage=off
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=System Preferences manage=off
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add label=Finder app=^Finder$ title=(Co(py|nnect)|Move|Info|Pref) manage=off
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add label=Calculator app=^Calculator$ manage=off
thread: 119869440 | EVENT_HANDLER_APPLICATION_LAUNCHED: skhd (48883) is not observable, subscribing to activationPolicy changes
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add label=Dictionary app=^Dictionary$ manage=off
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=Archive Utility manage=off
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=App Store manage=off
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=Word* manage=on
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=OneNote* manage=on
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=PowerPoint* manage=on
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=Excel* manage=on
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=PowerPoint manage=on
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=Excel manage=on
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=Word manage=on
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=OneNote manage=on
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=kitty opacity=0.95
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config layout bsp
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 119869440 | EVENT_HANDLER_WINDOW_MOVED: kitty 2547
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config split_ratio 0.5
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config auto_balance off
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config window_placement second_child
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config insert_feedback_color 0xffd75f5f
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config window_border on
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config window_border_width 6
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config active_window_border_color 0xffeb7423
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config normal_window_border_color 0xff1cb5db
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config window_gap 18
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config top_padding 10
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 119869440 | EVENT_HANDLER_WINDOW_MOVED: kitty 2547
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config bottom_padding 10
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config left_padding 10
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 119869440 | EVENT_HANDLER_WINDOW_MOVED: kitty 2547
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config right_padding 10
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config window_topmost off
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config window_opacity on
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config window_opacity_duration 0.0
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config active_window_opacity 1.0
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config normal_window_opacity 0.90
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config window_shadow float
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config mouse_follows_focus on
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config focus_follows_mouse autoraise
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config mouse_modifier alt
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config mouse_action1 move
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: config mouse_action2 resize
thread: 119869440 | window_manager_create_and_add_window: kitty 2936
thread: 119869440 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2936
thread: 119869440 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 2936
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 119869440 | EVENT_HANDLER_WINDOW_MOVED: kitty 2936
thread: 119869440 | EVENT_HANDLER_WINDOW_MOVED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_MOVED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_MOVED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_MOVED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_MOVED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 2936
thread: 119869440 | window_manager_create_and_add_window: kitty 2941
thread: 119869440 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2941
thread: 119869440 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 2941
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2941
thread: 119869440 | EVENT_HANDLER_WINDOW_MOVED: kitty 2941
thread: 119869440 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 2941
thread: 119869440 | window_manager_create_and_add_window: kitty 2946
thread: 119869440 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2946
thread: 119869440 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 2946
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2941
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2946
thread: 119869440 | EVENT_HANDLER_WINDOW_MOVED: kitty 2946
thread: 119869440 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 2946
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: window --close
thread: 119869440 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2941
thread: 119869440 | EVENT_HANDLER_WINDOW_DESTROYED: kitty 2946
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2941
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: window --close
thread: 119869440 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2936
thread: 119869440 | EVENT_HANDLER_WINDOW_DESTROYED: kitty 2941
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: window --focus north
thread: 119869440 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2547
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: window --focus south
thread: 119869440 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2936
thread: 119869440 | window_manager_create_and_add_window: kitty 2951
thread: 119869440 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2951
thread: 119869440 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 2951
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 119869440 | EVENT_HANDLER_WINDOW_MOVED: kitty 2951
thread: 119869440 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 2951
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: window --close
thread: 119869440 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2936
thread: 119869440 | EVENT_HANDLER_WINDOW_DESTROYED: kitty 2951
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: window --focus east
thread: 119869440 | EVENT_HANDLER_APPLICATION_FRONT_SWITCHED: Google Chrome (89587)
thread: 119869440 | EVENT_HANDLER_APPLICATION_DEACTIVATED: kitty
thread: 119869440 | EVENT_HANDLER_APPLICATION_ACTIVATED: Google Chrome
thread: 119869440 | window_manager_create_and_add_window: kitty 2956
thread: 119869440 | EVENT_HANDLER_APPLICATION_FRONT_SWITCHED: kitty (41887)
thread: 119869440 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2956
thread: 119869440 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 2956
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2956
thread: 119869440 | EVENT_HANDLER_WINDOW_MOVED: kitty 2956
thread: 119869440 | EVENT_HANDLER_APPLICATION_DEACTIVATED: Google Chrome
thread: 119869440 | EVENT_HANDLER_APPLICATION_ACTIVATED: kitty
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 2956
thread: 119869440 | EVENT_HANDLER_DAEMON_MESSAGE: window --close
thread: 119869440 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2936
thread: 119869440 | EVENT_HANDLER_WINDOW_DESTROYED: kitty 2956
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 119869440 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2547

Verbose logs from yabai with just hammerspoon, without this plugin:

Click to expand

thread: 269716928 | process_is_observable: loginwindow (2758) is blacklisted! ignoring..
thread: 269716928 | process_is_observable: Dock (2820) is blacklisted! ignoring..
thread: 269716928 | process_is_observable: ViewBridgeAuxiliary (2828) was marked as xpc service! ignoring..
thread: 269716928 | process_is_observable: QuickLookUIService (PID 2822) (2826) was marked as xpc service! ignoring..
thread: 269716928 | process_manager_add_running_processes: Finder (2822) was found! caching psn..
thread: 269716928 | process_is_observable: com.apple.dock.extra (2890) was marked as xpc service! ignoring..
thread: 269716928 | application_observe_notification: kAXCreatedNotification failed with error kAXErrorCannotComplete
thread: 269716928 | application_observe_notification: kAXFocusedWindowChangedNotification failed with error kAXErrorCannotComplete
thread: 269716928 | application_observe_notification: kAXWindowMovedNotification failed with error kAXErrorCannotComplete
thread: 269716928 | application_observe_notification: kAXWindowResizedNotification failed with error kAXErrorCannotComplete
thread: 269716928 | application_observe_notification: kAXTitleChangedNotification failed with error kAXErrorCannotComplete
thread: 269716928 | application_observe_notification: kAXMenuOpenedNotification failed with error kAXErrorCannotComplete
thread: 269716928 | application_observe_notification: kAXCreatedNotification failed with error kAXErrorCannotComplete
thread: 269716928 | application_observe_notification: kAXFocusedWindowChangedNotification failed with error kAXErrorCannotComplete
thread: 269716928 | application_observe_notification: kAXWindowMovedNotification failed with error kAXErrorCannotComplete
thread: 269716928 | application_observe_notification: kAXWindowResizedNotification failed with error kAXErrorCannotComplete
thread: 269716928 | application_observe_notification: kAXTitleChangedNotification failed with error kAXErrorCannotComplete
thread: 269716928 | application_observe_notification: kAXMenuOpenedNotification failed with error kAXErrorCannotComplete
thread: 269716928 | window_manager_create_and_add_window: Google Chrome 2520
thread: 269716928 | window_manager_create_and_add_window: kitty 2547
thread: 269716928 | window_manager_create_and_add_window: kitty 2936
thread: 269716928 | application_observe_notification: kAXCreatedNotification failed with error kAXErrorCannotComplete
thread: 269716928 | application_observe_notification: kAXFocusedWindowChangedNotification failed with error kAXErrorCannotComplete
thread: 269716928 | application_observe_notification: kAXWindowMovedNotification failed with error kAXErrorCannotComplete
thread: 269716928 | application_observe_notification: kAXWindowResizedNotification failed with error kAXErrorCannotComplete
thread: 269716928 | application_observe_notification: kAXTitleChangedNotification failed with error kAXErrorCannotComplete
thread: 269716928 | application_observe_notification: kAXMenuOpenedNotification failed with error kAXErrorCannotComplete
thread: 269716928 | yabai: scripting-addition payload was already injected into Dock.app!
thread: 269716928 | yabai: osax version = 1.0.14, osax attrib = 0x3F
48883
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=workrave manage=off
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=System Preferences manage=off
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add label=Finder app=^Finder$ title=(Co(py|nnect)|Move|Info|Pref) manage=off
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add label=Calculator app=^Calculator$ manage=off
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add label=Dictionary app=^Dictionary$ manage=off
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=Archive Utility manage=off
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=App Store manage=off
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=Word* manage=on
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=OneNote* manage=on
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=PowerPoint* manage=on
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=Excel* manage=on
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=PowerPoint manage=on
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=Excel manage=on
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=Word manage=on
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=OneNote manage=on
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=kitty opacity=0.95
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config layout bsp
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 145055744 | EVENT_HANDLER_WINDOW_MOVED: kitty 2547
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 145055744 | EVENT_HANDLER_WINDOW_MOVED: kitty 2936
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config split_ratio 0.5
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config auto_balance off
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config window_placement second_child
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config insert_feedback_color 0xffd75f5f
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config window_border on
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config window_border_width 6
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config active_window_border_color 0xffeb7423
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config normal_window_border_color 0xff1cb5db
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config window_gap 18
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 145055744 | EVENT_HANDLER_WINDOW_MOVED: kitty 2936
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config top_padding 10
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 145055744 | EVENT_HANDLER_WINDOW_MOVED: kitty 2547
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 145055744 | EVENT_HANDLER_WINDOW_MOVED: kitty 2936
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config bottom_padding 10
thread: 145055744 | EVENT_HANDLER_WINDOW_MOVED: Google Chrome 2520
thread: 145055744 | EVENT_HANDLER_WINDOW_MOVED: Google Chrome 2520
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 145055744 | EVENT_HANDLER_WINDOW_MOVED: kitty 2936
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config left_padding 10
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 145055744 | EVENT_HANDLER_WINDOW_MOVED: kitty 2547
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 145055744 | EVENT_HANDLER_WINDOW_MOVED: kitty 2936
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config right_padding 10
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config window_topmost off
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config window_opacity on
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config window_opacity_duration 0.0
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config active_window_opacity 1.0
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config normal_window_opacity 0.90
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config window_shadow float
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config mouse_follows_focus on
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config focus_follows_mouse autoraise
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config mouse_modifi
er alt
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config mouse_action1 move
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: config mouse_action2 resize
thread: 145055744 | window_manager_create_and_add_window: Alfred 549
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: Alfred 549
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: Alfred 549
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: Alfred 549
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: Alfred 549
thread: 145055744 | EVENT_HANDLER_WINDOW_DESTROYED: Alfred 549
thread: 145055744 | EVENT_HANDLER_APPLICATION_LAUNCHED: Hammerspoon (54543) is not finished launching, subscribing to finishedLaunching changes
thread: 269716928 | -[workspace_context observeValueForKeyPath:ofObject:change:context:]: Hammerspoon (54543) finished launching
thread: 145055744 | EVENT_HANDLER_APPLICATION_LAUNCHED: Hammerspoon (54543)
thread: 145055744 | window_manager_create_and_add_window: kitty 2974
thread: 145055744 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2974
thread: 145055744 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 2974
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2974
thread: 145055744 | EVENT_HANDLER_WINDOW_MOVED: kitty 2974
thread: 145055744 | EVENT_HANDLER_WINDOW_MOVED: Google Chrome 2520
thread: 145055744 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 2974
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: window --focus west
thread: 145055744 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2547
thread: 145055744 | window_manager_create_and_add_window: kitty 2979
thread: 145055744 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2979
thread: 145055744 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 2979
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2979
thread: 145055744 | EVENT_HANDLER_WINDOW_MOVED: kitty 2979
thread: 145055744 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 2979
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: window --focus east
thread: 145055744 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2974
thread: 145055744 | window_manager_create_and_add_window: kitty 2984
thread: 145055744 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2984
thread: 145055744 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 2984
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2974
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2984
thread: 145055744 | EVENT_HANDLER_WINDOW_MOVED: kitty 2984
thread: 145055744 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 2984
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: window --close
thread: 145055744 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2974
thread: 145055744 | EVENT_HANDLER_WINDOW_DESTROYED: kitty 2984
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2974
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: window --close
thread: 145055744 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2979
thread: 145055744 | EVENT_HANDLER_WINDOW_DESTROYED: kitty 2974
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2979
thread: 145055744 | EVENT_HANDLER_WINDOW_MOVED: kitty 2979
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: window --close
thread: 145055744 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2547
thread: 145055744 | EVENT_HANDLER_WINDOW_DESTROYED: kitty 2979
thread: 145055744 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: space --focus prev
thread: 145055744 | EVENT_HANDLER_SPACE_CHANGED: 5
thread: 145055744 | window_manager_create_and_add_window: MacVim 2200
thread: 145055744 | EVENT_HANDLER_APPLICATION_FRONT_SWITCHED: MacVim (33480)
thread: 145055744 | EVENT_HANDLER_APPLICATION_DEACTIVATED: kitty
thread: 145055744 | EVENT_HANDLER_APPLICATION_ACTIVATED: MacVim
thread: 145055744 | EVENT_HANDLER_DAEMON_MESSAGE: space --focus next
thread: 145055744 | EVENT_HANDLER_SPACE_CHANGED: 6
thread: 145055744 | EVENT_HANDLER_APPLICATION_FRONT_SWITCHED: kitty (41887)
thread: 145055744 | EVENT_HANDLER_APPLICATION_DEACTIVATED: MacVim
thread: 145055744 | EVENT_HANDLER_APPLICATION_ACTIVATED: kitty

Verbose logs from yabai with hammerspoon and this plugin:

Click to expand

thread: 241049024 | process_is_observable: loginwindow (2758) is blacklisted! ignoring..
thread: 241049024 | process_is_observable: Dock (2820) is blacklisted! ignoring..
thread: 241049024 | process_is_observable: ViewBridgeAuxiliary (2828) was marked as xpc service! ignoring..
thread: 241049024 | process_is_observable: QuickLookUIService (PID 2822) (2826) was marked as xpc service! ignoring..
thread: 241049024 | process_manager_add_running_processes: Finder (2822) was found! caching psn..
thread: 241049024 | process_is_observable: com.apple.dock.extra (2890) was marked as xpc service! ignoring..
thread: 241049024 | application_observe_notification: kAXCreatedNotification failed with error kAXErrorCannotComplete
thread: 241049024 | application_observe_notification: kAXFocusedWindowChangedNotification failed with error kAXErrorCannotComplete
thread: 241049024 | application_observe_notification: kAXWindowMovedNotification failed with error kAXErrorCannotComplete
thread: 241049024 | application_observe_notification: kAXWindowResizedNotification failed with error kAXErrorCannotComplete
thread: 241049024 | application_observe_notification: kAXTitleChangedNotification failed with error kAXErrorCannotComplete
thread: 241049024 | application_observe_notification: kAXMenuOpenedNotification failed with error kAXErrorCannotComplete
thread: 241049024 | application_observe_notification: kAXCreatedNotification failed with error kAXErrorCannotComplete
thread: 241049024 | application_observe_notification: kAXFocusedWindowChangedNotification failed with error kAXErrorCannotComplete
thread: 241049024 | application_observe_notification: kAXWindowMovedNotification failed with error kAXErrorCannotComplete
thread: 241049024 | application_observe_notification: kAXWindowResizedNotification failed with error kAXErrorCannotComplete
thread: 241049024 | application_observe_notification: kAXTitleChangedNotification failed with error kAXErrorCannotComplete
thread: 241049024 | application_observe_notification: kAXMenuOpenedNotification failed with error kAXErrorCannotComplete
thread: 241049024 | window_manager_create_and_add_window: Google Chrome 2520
thread: 241049024 | window_manager_create_and_add_window: kitty 2547
thread: 241049024 | window_manager_create_and_add_window: kitty 2936
thread: 241049024 | application_observe_notification: kAXCreatedNotification failed with error kAXErrorCannotComplete
thread: 241049024 | application_observe_notification: kAXFocusedWindowChangedNotification failed with error kAXErrorCannotComplete
thread: 241049024 | application_observe_notification: kAXWindowMovedNotification failed with error kAXErrorCannotComplete
thread: 241049024 | application_observe_notification: kAXWindowResizedNotification failed with error kAXErrorCannotComplete
thread: 241049024 | application_observe_notification: kAXTitleChangedNotification failed with error kAXErrorCannotComplete
thread: 241049024 | application_observe_notification: kAXMenuOpenedNotification failed with error kAXErrorCannotComplete
thread: 241049024 | yabai: scripting-addition payload was already injected into Dock.app!
thread: 241049024 | yabai: osax version = 1.0.14, osax attrib = 0x3F
48883
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=workrave manage=off
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=System Preferences manage=off
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add label=Finder app=^Finder$ title=(Co(py|nnect)|Move|Info|Pref) manage=off
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add label=Calculator app=^Calculator$ manage=off
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add label=Dictionary app=^Dictionary$ manage=off
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=Archive Utility manage=off
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=App Store manage=off
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=Word* manage=on
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=OneNote* manage=on
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=PowerPoint* manage=on
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=Excel* manage=on
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=PowerPoint manage=on
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=Excel manage=on
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=Word manage=on
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=OneNote manage=on
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: rule --add app=kitty opacity=0.95
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config layout bsp
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 2936
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config split_ratio 0.5
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config auto_balance off
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config window_placement second_child
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config insert_feedback_color 0xffd75f5f
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config window_border on
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: Google Chrome 2520
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config window_border_width 6
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config active_window_border_color 0xffeb7423
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config normal_window_border_color 0xff1cb5db
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config window_gap 18
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 2936
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config top_padding 10
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 2936
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config bottom_padding 10
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 2936
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config left_padding 10
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 2936
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config right_padding 10
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config window_topmost off
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config window_opacity on
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config window_opacity_duration 0.0
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config active_window_opacity 1.0
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config normal_window_opacity 0.90
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: Google Chrome 2520
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config window_shadow float
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config mouse_follows_focus on
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config focus_follows_mouse autoraise
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config mouse_modifier alt
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config mouse_action1 move
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: config mouse_action2 resize
thread: 90640384 | window_manager_create_and_add_window: Alfred 549
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: Alfred 549
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: Alfred 549
thread: 90640384 | EVENT_HANDLER_WINDOW_DESTROYED: Alfred 549
thread: 90640384 | EVENT_HANDLER_APPLICATION_LAUNCHED: Hammerspoon (57155) is not finished launching, subscribing to finishedLaunching changes
thread: 241049024 | -[workspace_context observeValueForKeyPath:ofObject:change:context:]: Hammerspoon (57155) finished launching
thread: 90640384 | EVENT_HANDLER_APPLICATION_LAUNCHED: Hammerspoon (57155)
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: window --focus north
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: window --focus south
thread: 90640384 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2936
thread: 90640384 | window_manager_create_and_add_window: kitty 2997
thread: 90640384 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2997
thread: 90640384 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 2997
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: Google Chrome 2520
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 2997
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 2997
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: Google Chrome 2520
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: Google Chrome 2520
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 2997
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 2997
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 2997
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 2997
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2936
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 2997
thread: 90640384 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 2997
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: window --focus north
thread: 90640384 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2547
thread: 90640384 | window_manager_create_and_add_window: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 3002
thread: 90640384 | window_manager_create_and_add_window: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 3007
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: window --focus west
thread: 90640384 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2547
thread: 90640384 | window_manager_create_and_add_window: kitty 3012
thread: 90640384 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 3012
thread: 90640384 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 3012
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3012
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3012
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3012
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3012
thread: 90640384 | EVENT_HANDLER_WINDOW_MOVED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3012
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3012
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3012
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3012
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3012
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3012
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3012
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3012
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3012
thread: 90640384 | EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 3012
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: window --close
thread: 90640384 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_DESTROYED: kitty 3012
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: window --focus east
thread: 90640384 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 3002
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: window --close
thread: 90640384 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_DESTROYED: kitty 3002
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 3007
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: window --focus east
thread: 90640384 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 3007
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: window --close
thread: 90640384 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_DESTROYED: kitty 3007
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: window --focus south
thread: 90640384 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2936
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: window --close
thread: 90640384 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_DESTROYED: kitty 2936
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2997
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2997
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2997
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2997
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2997
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2997
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2997
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2997
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: window --focus south
thread: 90640384 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2997
thread: 90640384 | EVENT_HANDLER_DAEMON_MESSAGE: window --close
thread: 90640384 | EVENT_HANDLER_WINDOW_FOCUSED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_DESTROYED: kitty 2997
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547
thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547

From what I can see, the only difference is that we get a lot more thread: 90640384 | EVENT_HANDLER_WINDOW_RESIZED: kitty 2547 type events, which fits with the symptom of the resize getting smaller.

The logs show 'recieved keybindings' in the form of whatever EVENT_HANDLER_DAEMON_MESSAGE they send (since yabai keybindings are provided to it by an external process).

window_manager_create_and_add_window events are me creating a new kitty (terminal emu) instance to test.

(Alfred is what I used to launch hammerspoon, which is why that crops up near the start.)

@BlueDrink9
Copy link
Author

@koekeishiya might have more to say about them?

@dbalatero
Copy link
Owner

@BlueDrink9 ok, one thought:

What happens if you comment out this line (the call to start())?

vim.hotPatcher:start()

I'm wondering if the accessibility patching I'm doing is screwing up yabai.

@BlueDrink9
Copy link
Author

Could well be. Testing now

@BlueDrink9
Copy link
Author

That does seem to have helped, although not entirely. With that line commented out, it seems that if hammerspoon is started while the app to be tiled (eg kitty) isn't running, then kitty is started, it tiles fine.
It causes consistent issues when kitty opens before vimmode.spoon starts/restarts, however.

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

2 participants