Skip to content

[Preview 4] HighContrastChanged crashes app #4163

@asklar

Description

@asklar

Found while upgrading react native windows to consume WinUI 3 Preview 4
We call Windows.UI.ViewManagement.AccessibilitySettings.HighContrastChanged. This API worked in Preview 3 in both UWP and Desktop, but in Preview 4 this API crashes in Desktop apps.
This worked in previous previews because XAML was calling an unsupported API (to create an invisible CoreWindow) and as a side effect some system APIs like this one worked

Could we update the relnotes @anawishnoff @ryandemopoulos regarding the HighContrastChanged event and other APIs/Events that won't work? I see there is a partial list in the notes already but this one seems like it fell through the cracks.
https://docs.microsoft.com/en-us/windows/apps/winui/winui3/#known-issues
Are there others that might be missing from the relnotes?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions