Closed
Description
Currently some users hit an issue where the app launched from command line doesn't have an active dock icon, menu and the window cannot be focused.
Thanks for help from @MarshallOfSound with the debugging we were able to narrow the source of issue. The cli wrapper is a node process which then spawns the actual app https://github.com/microsoft/vscode/blob/master/src/vs/code/node/cli.ts#L331 , this doesn't work well with entitlements. Can read for some background about inherited entitlements #95062 (comment) .
The underlying issue is not known here but we expect some sort of malformed state has been entered by the entitled app. To fix this we can adjust the spawn callsite with a call to macOS open
cmd.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
โ๏ธ Done / Deferred