Adding TextBox/RichEditBox to window crashes app #7321
Labels
area-TextBox
TextBox, RichEditBox
bug
Something isn't working
Crash
whenever user reports a crash or app freeze
no-issue-activity
product-winui3
WinUI 3 issues
team-Controls
Issue for the Controls team
Describe the bug
Adding a textbox to a window will crash app with code 0x80004005 and message 'unspecified error'.
Steps to reproduce the bug
Expected behavior
To not crash, or atleast have a relevent error code.
Screenshots
no screenshots but
NuGet package version
WinUI 3 - Windows App SDK 1.1.1
Windows app type
Device form factor
Desktop
Windows version
Windows 10 (21H1): Build 19043
Additional context
This is inside of an unpackaged app, as such I have no idea whether it works from inside an xaml file as I have no idea how to hook that up properly. This crash does not happen from the blank xaml app template that visual studio ships with (when added in the window xaml or as code inside of
App::OnLaunched()
. Incidently that visual studio app uses the windows 11 UI whereas the unpackaged app does not.The text was updated successfully, but these errors were encountered: