Skip to content

[1.20] Backport session persistence improvements - #17049

Merged
Dustin L. Howett (DHowett) merged 2 commits into
release-1.20from
dev/lhecker/16598-backport
Apr 23, 2024
Merged

[1.20] Backport session persistence improvements#17049
Dustin L. Howett (DHowett) merged 2 commits into
release-1.20from
dev/lhecker/16598-backport

Conversation

@lhecker

@lhecker Leonard Hecker (lhecker) commented Apr 11, 2024

Copy link
Copy Markdown
Member

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 Leonard Hecker (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

Copy link
Copy Markdown
Member

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

@lhecker

Leonard Hecker (lhecker) commented Apr 23, 2024

Copy link
Copy Markdown
Member Author

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
Copy Markdown
Member

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

@DHowett Dustin L. Howett (DHowett) changed the title Backport session persistence improvements [1.20] Backport session persistence improvements Apr 23, 2024
@lhecker

Copy link
Copy Markdown
Member Author

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

No it's unrelated.

@DHowett
Dustin L. Howett (DHowett) merged commit ff99f4b into release-1.20 Apr 23, 2024
@DHowett
Dustin L. Howett (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