mathworks / mathworks/MATLAB-extension-for-vscode
The `desktop` command does not work as expected on Mac
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 435
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
The desktop command does not work, as expected on Mac.
It is not an intuitive behavior - at least not for a first time user.
To Reproduce
Steps to reproduce the behavior:
- Open VC Code and a .m file.
- Connect to MATLAB
- Type
desktopin the MATLAB termnial - MATLAB GUI opens in the "background". That is, I can see the GUI if I show all open windows (ctrl+up arrow on Mac), but I cannot, for example, cmd+tab to the GUI or click on it in the dock.
Expected behavior
A MATLAB GUI should appear in the forefront or in the dock.
Useful Information
- OS Version: mac os Sonoma 14.4.1
- VS Code Version: 1.87.2
- MATLAB Version: R2024a
Additional context
I assume this behavior is caused because the connected MATLAB instance is hidden on Mac as mentioned in #9 .
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the desktop command from a MATLAB terminal launched through the VS Code extension on macOS, then trace the command's handling of the connected MATLAB instance. Done means the MATLAB GUI is brought to the foreground and appears as a normal app in the Dock; verify against the stated macOS, VS Code, and MATLAB versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- matlab, typescript, vscode
- Domain
- desktop, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100