iced-rs / iced

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

TextInput value overflow with tiny-skia backend #2371

Open edouardparis opened 2 months ago

edouardparis commented 2 months ago

Is there an existing issue for this?

Is this issue related to iced?

What happened?

After entering a long chain of characters and unfocusing the text input, the value overflow the input bounds.

Example with ICED_BACKEND=tiny-skia cargo run -p tour 20240403_12h54m26s_grim

Both master and 12.1 version are affected

What is the expected behavior?

The text input value should not overflow the input bounds.

Version

crates.io release

Operating System

Linux

Do you have any log output?

No
DBJim commented 6 days ago

This is also occurring on Windows 64 bit with tiny-skia (but not with wgpu)