-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Closed
Copy link
Labels
Area-WPFControlThings related to the WPF version of the TermControlThings related to the WPF version of the TermControlIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsDoesn't match tag requirementsProduct-TerminalThe new Windows Terminal.The new Windows Terminal.Severity-CrashCrashes are real bad news.Crashes are real bad news.
Milestone
Description
Windows Terminal version
1.22.250513001
Windows build number
10.0.19045.6575
Other Software
Well, this issue is the root cause of one of top Visual Studio crashes, but it can reproduced using terminal wpf hosting sample too.
Steps to reproduce
- Update src\cascadia\WpfTerminalTestNetCore\MainWindow.xaml to include also plain WPF TextBox:
<Window x:Class="WpfTerminalTestNetCore.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:WpfTerminalTestNetCore"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:term="clr-namespace:Microsoft.Terminal.Wpf;assembly=Microsoft.Terminal.Wpf"
Title="MainWindow"
Width="800"
Height="450"
mc:Ignorable="d">
<DockPanel>
<TextBox x:Name="InputBox"
Height="30"
Width="400"
Text="Type here"
DockPanel.Dock="Top"/>
<term:TerminalControl x:Name="Terminal"
Focusable="true" />
</DockPanel>
</Window>
- Build and run WpfTerminalTestNetCore sample
- Try typing emojis into the text box using Windows emoji picker (Win+.)
Expected Behavior
Doesn't crash, adds emoji characters to the text box content
Actual Behavior
crashes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area-WPFControlThings related to the WPF version of the TermControlThings related to the WPF version of the TermControlIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsDoesn't match tag requirementsProduct-TerminalThe new Windows Terminal.The new Windows Terminal.Severity-CrashCrashes are real bad news.Crashes are real bad news.