-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Line numbers invisible after Zen Mode toggled off #90240
Comments
(Experimental duplicate detection) |
I acknowledge this issue. vscode/src/vs/workbench/browser/layout.ts Line 780 in 8d17dc1
An elegant PR that fixes this is welcome. |
@isidorn I took a look at this and to fix this we need not just the
|
@jeanp413 thanks for looking into this. That sounds reasonable. However let's check with @bpasero if he wants to expose non visible editors in the Alternative would be to remember all the editors that we have hidden line numbers for, and then when bringing them back to go through those editors. |
@isidorn |
Ok thanks. @jeanp413 so that + |
|
I believe the Editor control only exists for the visible editors (thus we create just one editor per Group). To save on resources. @bpasero can correct me if I am wrong. Thansk |
Yes, for performance reasons we only allocate 1 editor control per visible tab, not for each tab that is hidden. |
I pushed 2 branches with different fixes for this issue
@isidorn let me know which approach is preferred to create the corresponding PR |
@jeanp413 let's go with approach 1. Once you create the PR i can further comment on it. Thanks a lot! |
Thanks @jeanp413 for fixing this 👏 |
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: