WinUI text context menu not showing up (Was: Crash when right clicking text)
Windows Terminal version
1.23.10353.0
Windows build number
10.0.19045.5487
Other Software
No response
Steps to reproduce
- Open the About dialog.
- Select the version text, right click and select Copy.
- Close the dialog.
- Drag the tab, so that the window disappears and reappears.
- Open the About dialog again, then right click the version text.
Expected Behavior
No response
Actual Behavior
Crash
Thanks for filing! Looks like this is related to XAML Islands. Specifically, if the first XAML island is deleted/closed.
This is pretty severe. We should make sure we fix it before Preview goes to Stable.
I'm unassigning myself as the crash was fixed. The remaining issue is that the repro steps now cause the context menu to not show up at all anymore. From what I can tell, this is a WinUI 2 bug.
I'm experiencing this bug as well. Besides the About dialog, app also crashes when right-clicking any text box on the settings page. Avoiding multiple ContentDialog instances isn't a real fix.