iced-rs / iced

A cross-platform GUI library for Rust, inspired by Elm
https://iced.rs
MIT License
24.88k stars 1.17k forks source link

Text editor not accepting accent characters #2674

Open lingaspeakingspider opened 1 week ago

lingaspeakingspider commented 1 week ago

Is your issue REALLY a bug?

Is there an existing issue for this?

Is this issue related to iced?

What happened?

The text-editor widget is not accepting any accented characters, like "ğ","ü","ç","ö". I used the example on the docs.rs page for iced::widget::text_editor.

What is the expected behavior?

It accepting these characters.

Version

crates.io release

Operating System

Linux

Do you have any log output?

No response

lingaspeakingspider commented 1 week ago

For the sake of repro, I've run this editor: https://github.com/klevercorrea/iced-editor This editor accepts these characters, but the app uses 0.12. Maybe something changed in 0.13

lingaspeakingspider commented 1 week ago

The current editor example doesn't work as well. This supports the probability of 0.13 breaking sth.

airstrike commented 1 week ago

Related #1544

For the sake of repro, I've run this editor: https://github.com/klevercorrea/iced-editor This editor accepts these characters, but the app uses 0.12. Maybe something changed in 0.13

FWIW I can't get that version of the editor to compile. But seeing as that's just the editor example provided by iced, I ran

git checkout 0.12
cargo run --package editor

And as expected dead keys did not work then either.

thunderstorm010 commented 1 week ago

I needed to run cargo update for it to compile, but it did eventually work. I didn't try the example of 0.12, I'll test later.