Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

term quick access shows closed terminal editors #127307

Closed
Tyriar opened this issue Jun 28, 2021 · 3 comments
Closed

term quick access shows closed terminal editors #127307

Tyriar opened this issue Jun 28, 2021 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug insiders-released Patch has been released in VS Code Insiders terminal Integrated terminal issues terminal-editors verified Verification succeeded
Milestone

Comments

@Tyriar
Copy link
Member

Tyriar commented Jun 28, 2021

From @g3offrey in #10546 (comment)

Hello,

First of all I want to thank you @meganrogge and @Tyriar about the awesome job on terminal editors. This is literally a game changer for me 馃槏

I tried this feature a lot these last days, and I encountered an issue that I think is not mentioned here.
When I close terminal editors, they are not deleted from the listing when typing term in CMD+P palette.

I share you a gif that shows this issue.

screen

Steps to reproduce :

  1. Open clean and up-to-date "Code Insiders" instance
  2. Create a bunch of terminal editors (either via command palette or drag and drop)
  3. Close them using the bin / closing the editor or via "kill" command
  4. Open CMD+P palette and type term
  5. 鈿狅笍 Closed terminal still appears here

If I can help you on this issue, don't hesitate to reach me.

Again, thank you for your work on this feature. 鉁岋笍

@Tyriar Tyriar added bug Issue identified by VS Code Team member as probable bug terminal Integrated terminal issues terminal-editors labels Jun 28, 2021
@Tyriar Tyriar added this to the June 2021 milestone Jun 28, 2021
@Tyriar Tyriar self-assigned this Jun 28, 2021
@Tyriar Tyriar closed this as completed in 6ab9dce Jun 28, 2021
@Tyriar
Copy link
Member Author

Tyriar commented Jun 28, 2021

This can still happen, repro:

  1. Drag a terminal into editor
  2. Split it
  3. Close the right side

1 terminal editor:

Screen Shot 2021-06-28 at 9 10 08 AM

Showing 2:

Screen Shot 2021-06-28 at 9 09 12 AM

@Tyriar Tyriar reopened this Jun 28, 2021
@g3offrey
Copy link
Contributor

Hi !

I just tested the fix and it works fine for the use cases mentioned here. Thank you !

However I found another weird use case when splitting a terminal editor using the button at the top right corner (the one used to split editors). Indeed if you close both terminal after splitting then using this button, you will still find one in the term listing 馃槄

@Tyriar
Copy link
Member Author

Tyriar commented Jun 29, 2021

Thanks a bunch for the follow up @g3offrey, I can repro. Hopefully this'll catch all the cases 馃檪

@Tyriar Tyriar reopened this Jun 29, 2021
@Tyriar Tyriar closed this as completed in 2a8371f Jun 29, 2021
@mjbvz mjbvz added the verified Verification succeeded label Jul 1, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Aug 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug insiders-released Patch has been released in VS Code Insiders terminal Integrated terminal issues terminal-editors verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

5 participants
@Tyriar @g3offrey @mjbvz @meganrogge and others