Issue:
Our application crashes when a user type some text into the WPF TextBox. Please help! The easy 3 minutes reproduction appears below
Reproduction:
Register a WPF TextBox (m_textBox) TextChanged event to the method below
private void OnTextChanged(object sender, TextChangedEventArgs e) { // This line of code throws Unhandled exception when typing '^' char in // the text box (in United "States-International" keyboard) m_textBox.Dispatcher.Invoke(DispatcherPriority.Normal, new SendOrPostCallback(Foo), null); } private void Foo(object state) { //Do nothing }
Change your keyboard to "United States - International"
Run the application and type '^' twice in the TextBox
Aplication will crash!!!!