Skip to content

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

@MahmoudAlEssawi

Description

@MahmoudAlEssawi

Description

If I change the Page property in the created Window the TitleBar is reset and nullified.

Steps to Reproduce

Create .net maui app
Create a Window and create TitleBar
Set the Page property.

after initialization and the window is created try to change the Page and assign it to another Page.

The TitleBar will disappear

Link to public reproduction project repository

No response

Version with bug

9.0.30 SR3

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

9.0.22 SR2.2

Affected platforms

Windows

Affected platform versions

1000.26100.36.0

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions