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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.20] Backport session persistence improvements #17049

Merged
merged 2 commits into from
Apr 23, 2024

Conversation

lhecker
Copy link
Member

@lhecker lhecker commented Apr 11, 2024

This contains all the changes of 5dda507, c4c5206, 9f08ee7, and
5f10159 (#16598 and all related PRs), but without the buffer restore
feature. The hope is that these changes fix some rarer issues
we've been hearing about, where persistence doesn't work correctly.

Validation Steps Performed

This changeset was tested on Windows 11 with 2 windows and 4 tabs
where 1 tab had 2 mixed split panes. All windows and tabs got
restored properly. It didn't crash on Windows 10.

@lhecker lhecker added Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal. Area-CodeHealth Issues related to code cleanliness, linting, rules, warnings, errors, static analysis, etc. zBugBash-Consider labels Apr 11, 2024
DHowett added a commit that referenced this pull request Apr 16, 2024
@DHowett
Copy link
Member

DHowett commented Apr 22, 2024

grab that stable build from the bug bash if you need a test build for Win10!

@lhecker
Copy link
Member Author

lhecker commented Apr 23, 2024

Done. However, I found that we leak memory every time a window gets opened/closed. Because Visual Studio is a marvel of engineering, I can't tell you what it leaks though. It's been, no joke, 20 minutes:
image

Edit: It seems it's just WARP and DWrite allocating memory and never releasing it?

@DHowett
Copy link
Member

DHowett commented Apr 23, 2024

Did that leak turn out to be the xaml content root?

@DHowett DHowett changed the title Backport session persistence improvements [1.20] Backport session persistence improvements Apr 23, 2024
@lhecker
Copy link
Member Author

lhecker commented Apr 23, 2024

Did that leak turn out to be the xaml content root?

No it's unrelated.

@DHowett DHowett merged commit ff99f4b into release-1.20 Apr 23, 2024
5 of 7 checks passed
@DHowett DHowett deleted the dev/lhecker/16598-backport branch April 23, 2024 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-CodeHealth Issues related to code cleanliness, linting, rules, warnings, errors, static analysis, etc. Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal. zBugBash-Consider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants