Skip to content

TitleBar explicit false close path can corrupt WinUI title-bar teardown #537

Closed

Description

PR #536 exposed a process crash in the TitleBar_ExplicitFalseOverrides selftest when closing a window whose WindowSpec sets ExtendsContentIntoTitleBar = false while the content still renders a TitleBar element. TitleBarDescriptor already no-ops registration when the value is explicitly false, but Window.Close/host disposal can still hit WinUI title-bar interop teardown and terminate with STATUS_HEAP_CORRUPTION. The PR uses a selftest teardown mitigation (Hide + UnregisterWindowMonitor) so CI can proceed. Follow up with a Reactor-side close/dispose fix or a safer TitleBar unmount path for explicit-false windows.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions