You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you focus a ComboBox and press the Esc key, it resets the selected item to the first one. It happens when the ComboBox's drop-down is closed. In the .NET Framework 4.8, it didn't happen.
It would be helpful to include the repro project. I noticed in the video that the .NET 6 combo box is focused after pressing Esc. Does the .NET FW exhibit the same behavior when you focus it first and then hit Esc?
Thank you, @miloush. As for me, it looks like an acceptable workaround. Our project is for Windows only, and who knows, maybe if we fallback to NLS we'll avoid some other yet unknown issues caused by transitioning to ICU.
Anyway, I hope that this bug will be properly fixed in the platform.
Description
If you focus a ComboBox and press the Esc key, it resets the selected item to the first one. It happens when the ComboBox's drop-down is closed. In the .NET Framework 4.8, it didn't happen.
See the video:
https://github.com/user-attachments/assets/5db212dd-2d89-4fe1-b00d-07d23ace75f0
Here are the repro projects:
ComboBoxTest.zip
Reproduction Steps
Expected behavior
The selected item must not be changed on the Esc key press and must remain "3". That's how it worked in .NET Framework 4.8.
Actual behavior
The selected item is reset to "1" after the Esc key press. That's very counterintuitive.
Regression?
It's a regression to the .NET Framework 4.8 version.
Known Workarounds
No response
Impact
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: