-
Notifications
You must be signed in to change notification settings - Fork 37.6k
Closed
Labels
*duplicateIssue identified as a duplicate of another issue(s)Issue identified as a duplicate of another issue(s)
Description
Does this issue occur when all extensions are disabled?: No (because it's a bug with an API call)
- VS Code Version: 1.58.2
- OS Version: Ubuntu 20.04 (Linux 5.5.19-050519-generic x86_64)
Steps to Reproduce:
- Run command "Create New Integrated Terminal" from command palette
- Focus the new terminal
- Run command "Move Terminal Into Editor Area"
- Hide the Terminal Panel
- Move editor area terminal to secondary editor group on its own.
- Focus a text editor in primary editor group.
- Run any command that calls Terminal.show() targeting the active terminal. Active terminal should be the editor area terminal since that was the last one you touched in step 5. The internal command "Run selected text in active terminal" seems to do this.
- Observe the terminal panel is popped open showing a terminal. One is created if none existed other than the editor area terminal.
If you used "Run selected text in active terminal" in step 7, you'll notice the text went to the correct terminal (editor area).
We observe this behaviour in the VSCode-R extension when sending commands to a managed R terminal, the final step of which is to call optionally call show(). If show() is not called, commands can be sent without popping the terminal panel open.
renkun-ken and ElianHugh
Metadata
Metadata
Assignees
Labels
*duplicateIssue identified as a duplicate of another issue(s)Issue identified as a duplicate of another issue(s)