Open katarinaslama opened 7 months ago
I'm dealing with the same issue.
I'm dealing with the same issue. However, after pulling the driver repo and building it by running yarn
, I am able to focus windows via node test/focus.js code
.
C++ contribution opportunity. See PR#19 in 2021 to fix mac Focus issues. (by @tmacwill, any leads on this new focus issue?) Per reviewed changes, mac.cpp and mac.hpp were modified, may be where fix lies this time.
System Information
Serenade Version: v2.0.2
OS and Version: macOS 14.3 (and previous Sonoma versions)
Application:
focus
command: I use ITerm, VSCode, and ChromeIssue Description
After updating to macOS Sonoma, the
focus
command no longer works. It will sometimes bring the correct application to the front, but it does not actually focus it. Many times it doesn't work at all. It works the worst withfocus VSCode
. Thelaunch
command can replacefocus
for Chrome and iTerm, but this does not work for VSCode.Matt says: Here’s the underlying library that gets triggered, and likely where the fix needs to be: https://github.com/serenadeai/driver
There’s a test for focus here that would confirm it’s in this library: https://github.com/serenadeai/driver/blob/master/test/focus.js
How to Reproduce
Download serenade on macOS Sonoma and try focusing between applications.