rxhanson / Rectangle

Move and resize windows on macOS with keyboard shortcuts and snap areas
https://rectangleapp.com
Other
25.1k stars 742 forks source link

Doesn't seem to work for VSCode #1274

Open kahoot-karl opened 9 months ago

kahoot-karl commented 9 months ago

Does not seem to work on the vscode window anymore, not sure why. It works for other apps

macOS version: 13.5 Ventura Rectangle version: 0.73 (79) Logs if applicable (In Rectangle menu, hold option, "View Logging..."):

2023-10-05T11:25:50+02:00: Failed to find frontmost window.
2023-10-05T11:25:51+02:00: Failed to find frontmost window.
2023-10-05T11:25:54+02:00: Unable to obtain the accessibility element with the specified attribute at mouse location
2023-10-05T11:25:54+02:00: Failed to find frontmost window.
2023-10-05T11:25:55+02:00: Unable to obtain the accessibility element with the specified attribute at mouse location
2023-10-05T11:25:55+02:00: Unable to obtain the accessibility element with the specified attribute at mouse location
2023-10-05T11:25:55+02:00: Unable to obtain the accessibility element with the specified attribute at mouse location
2023-10-05T11:25:56+02:00: Failed to find frontmost window.
2023-10-05T11:25:56+02:00: Failed to find frontmost window.
2023-10-05T11:25:57+02:00: Unable to obtain the accessibility element with the specified attribute at mouse location
2023-10-05T11:25:57+02:00: Failed to find frontmost window.

Vscode version:

Version: 1.82.3 (Universal)
Commit: fdb98833154679dbaa7af67a5a29fe19e55c2b73
Date: 2023-10-02T11:06:17.496Z
Electron: 25.8.1
ElectronBuildId: 23779380
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Darwin arm64 22.6.0
rxhanson commented 9 months ago

Thanks for including details. Did you try restarting VSCode?

Duplicate of https://github.com/rxhanson/Rectangle/issues/43 https://github.com/rxhanson/Rectangle/issues/167 https://github.com/rxhanson/Rectangle/issues/182 https://github.com/rxhanson/Rectangle/issues/936

klickreflex commented 8 months ago

I had the same issue today, but not only in VS Code but in every Electron app: Evernote, Slack, Reflect. Restarting Rectangle helped (restarting the Electron apps wasn't even necessary).