-
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
Grid state not correctly restored on restart #78173
Comments
@bpasero where does the editor grid stuff get saved, not sure why it wouldn't be properly saved in grid layout |
@sbatten it gets stored into the memento of the editor part (
|
I have been seeing this issue from time to time especially in the exploration electron 6 builds: my sidebar width still resets on starting up vscode |
@beastdestroyer and what is your setting for |
@bpasero It has always been on since introduced as a setting Also for me it seems the sidebar occassionally resets itself too but it isn't consistent |
I would wait for a more recent exploration build where a couple of changes went in specifically around serialization. |
@joaomoreno we can discuss this in our deep dive tomorrow as this results from the many layout calls happening during initial layout propagating down to the nested grid which gets a lot of different sizes ruining its serialized layout. |
Only happens for vertical sashes of the editor grid. |
Testing #78137
Starting state that I made:
Then I moved one of the sashes:
Then I restarted:
You can see that the sash position didn't save.
The text was updated successfully, but these errors were encountered: