mathworks / mathworks/MATLAB-extension-for-vscode

Opening a figure from VSCode makes it impossible to tab to it on mac

Open
#192 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
435
Forks
40
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
When I open a figure programmatically in VSCode on a mac it's impossible to cmd+tab to it (or cmd + `). The only way to focus the figure is actually clicking on it.

To Reproduce
Steps to reproduce the behavior:

  1. Go to matlab terminal in VSCode.
  2. Type figure
  3. cmd tab out of VScode and back.
  4. See that the figure isn't what pops up and there is no way other than clicking to focus it.

Useful Information

  • OS Version: MaxOS Sonoma 14.5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the behavior from the MATLAB terminal in VSCode on macOS Sonoma, then inspect the extension's figure-launching and window-focus integration. Done means a programmatically opened figure can be reached with Cmd+Tab or Cmd+` without clicking it.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
desktop, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.