CommunityToolkit / Microsoft.Toolkit.Win32

ARCHIVE - This repository contained XAML Islands wrapper controls and tooling for XAML Islands with WinUI 2, see readme for more info about XAML Islands with WinUI 3 and the WindowsAppSDK.
https://aka.ms/windowsappsdk
Other
384 stars 89 forks source link

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

Open HO-COOH opened 1 year ago

HO-COOH commented 1 year ago

Describe the bug

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

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>
  3. 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:

Visual Studio 2022

Additional context

Add any other context about the problem here.

ghost commented 1 year ago

Hello HO-COOH, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌

ghost commented 1 year ago

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

ghost commented 1 year ago

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

ghost commented 1 year ago

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.