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

[Windows] Fix titlebar not persisting when page is swapped #27192

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Foda
Copy link
Member

@Foda Foda commented Jan 16, 2025

Description of Change

  • Fix titlebar not being transferred when page is swapped
  • Fix titlebar leaking when replaced

Issues Fixed

Fixes #27170

Fix titlebar leaking events when replaced

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 5 out of 7 changed files in this pull request and generated no comments.

Files not reviewed (2)
  • src/Core/src/Platform/Windows/NavigationRootManager.cs: Evaluated as low risk
  • src/Core/src/Platform/Windows/WindowRootView.cs: Evaluated as low risk
Comments suppressed due to low confidence (1)

src/Controls/src/Core/Window/Window.cs:395

  • Ensure that there are test cases covering the cleanup and reattachment of the title bar when the page is swapped.
prevTitleBar.Cleanup();
@PureWeen PureWeen added this to the .NET 9 SR3.1 milestone Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Ready To Review
Development

Successfully merging this pull request may close these issues.

[Version 9.0.30] Window.TitleBar is set to null after changing Window.Page at runtime
2 participants