The application freezes when changing the language by combination
Is your issue REALLY a bug?
- [x] My issue is indeed a bug!
- [x] I am not crazy! I will not fill out this form just to ask a question or request a feature. Pinky promise.
Is there an existing issue for this?
- [x] I have searched the existing issues.
Is this issue related to iced?
- [x] My hardware is compatible and my graphics drivers are up-to-date.
What happened?
~~When switching the language to English using the configured keyboard shortcuts, the application freezes. This behavior only occurs when switching to English.~~
The following combinations are used to change the language: Alt + Shift + 0 or 1 or 2
I spent more time testing and noticed the following pattern: When launched in the following languages:
- English
- Change the language to Russian - the app freezes
- Change the language to Chinese - the app does NOT freeze
- Russian
- Change the language to English - the app freezes
- Change the language to Chinese - the app does NOT freeze
- Chinese
- The app freezes when switching between both languages
I also created an empty application, there I observe a similar problem. The problem persists on Windows 10.
When switching the language with the standard combinations of win + space and alt + shift, the application does NOT freeze.
The tests were conducted separately on a clean system on another device with the same result, also without Chinese.
https://github.com/user-attachments/assets/5edb8413-4181-4a1c-8bef-f7c235520460
What is the expected behavior?
The application does not freeze.
Version
crates.io release
Operating System
Windows
Do you have any log output?