Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.
This repository was archived by the owner on Aug 30, 2023. It is now read-only.

Xaml island with any control with built-in AcrylicBrush crash #358

@HO-COOH

Description

@HO-COOH

Describe the bug

Using Xaml island with any control with built-in AcrylicBrush crash the application when launching.

  • Is this bug a regression in the toolkit? If so, what toolkit version did you last see it work:

Steps to Reproduce

  1. Follow exactly the guide to host a custom control in a win32 app
  2. Add a control with built-in acrylic brush, like AutoSuggestBox
<UserControl
    x:Class="View.MyUserControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:View"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <AutoSuggestBox x:Name="AddressTextBox" KeyDown="AddressTextBox_KeyDown"/>
</UserControl>
  1. Launch the app

Expected behavior

Run normally

Screenshots

FailFastException, and crash

Environment

NuGet Package(s):
image

Package Version(s):
image

Project .NET Version:
None, I am using C++.

Windows 10 Build Number:
Nope, Windows 11 22621

App min and target version:
Windows 10 18363

Device form factor:

  • Desktop
  • Xbox
  • Surface Hub
  • IoT

Visual Studio
2022

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions