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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
window.visibleEditors
& window.onDidChangeVisibleTextEditors
return inconsistent results
#36579
Comments
FYI, this is not a //cc @jrieken |
It has been like that since forever
They are implemented as text editor, that's why. I am closing this as question. |
Shouldn't they at a minimum respect visibility? It is called |
Yeah, that's a bad name choice... |
And all other editors respect visibility to be in that list. |
@jrieken Can this be reopened then? Still seems like an issue to me |
Yeah, they should leave the list eventually... |
I can look into disposing the debug console input once it is hidden |
Steps to Reproduce:
window.onDidChangeVisibleTextEditors
or pollswindow.visibleTextEditors
Normal editors come and go as expected when their visibility changes, but other panels have inconsistent behavior.
Problems
&Terminal
panes never appear in the list regardless of visibilityOutput
&Debug Console
panes will appear in the list when they first become visible, but never seem to leave the list regardless of visibilityI'm unsure why the
Output
&Debug Console
panes ever appear in the list -- I would much prefer they didn't as they aren't really editors. Also if they are to stay in that list it feels like there should be some consistency with theProblems
&Terminal
panes as well, and they should certainly IMO be removed from the list when they aren't visibleI feel like this behavior has changed in 1.17, but I can't be sure.
Reproduces without extensions: No
The text was updated successfully, but these errors were encountered: