-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Closed
Closed
Copy link
Labels
*duplicateIssue identified as a duplicate of another issue(s)Issue identified as a duplicate of another issue(s)bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugterminalGeneral terminal issues that don't fall under another labelGeneral terminal issues that don't fall under another labelworkbench-viewsWorkbench view issuesWorkbench view issues
Description
Does this issue occur when all extensions are disabled?: Yes/No
Version: 1.55.2
Commit: 3c4e3df
Date: 2021-04-13T09:37:02.931Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Linux x64 5.10.32
In rust-analyzer, we are are creating a Task with focus = false in the presentation. However, the terminal window is still focused if the terminal gets revealed. I would expect that the combination of reveal always and focus false results in the editor always keeping focus, even if the terminal needs to be shown in the UI. Here's a video of the wrong behavior.
focus.mp4
Note how the first run of the task steals the focus, but subsequent runs are ok, unless the terminal is closed.
Here's the relevant code from rust-analyzer:
inwardmovement
Metadata
Metadata
Assignees
Labels
*duplicateIssue identified as a duplicate of another issue(s)Issue identified as a duplicate of another issue(s)bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugterminalGeneral terminal issues that don't fall under another labelGeneral terminal issues that don't fall under another labelworkbench-viewsWorkbench view issuesWorkbench view issues