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
My hardware is compatible and my graphics drivers are up-to-date.
What happened?
I recently noticed excessive CPU usage in my Iced application when I left a key pressed while writing in a TextInput. I tracked down the introduction of this behavior to the time I upgraded to Iced 0.12, and I was able to strip down my code to a minimal example that exhibits it. It's not related to TextInputs but maybe containers' Appearance.
The example is at https://git.sr.ht/~lufte/vimini/tree/high-cpu-bug. Edit Cargo.toml and src/main.rs to switch between 0.10 and 0.12. All you need to do is run the app and keep any key pressed. I see around 35% usage on my 4-core processor with the 0.12 version.
What is the expected behavior?
Same CPU usage as in 0.10
Version
crates.io release
Operating System
Linux
Do you have any log output?
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Is this issue related to iced?
What happened?
I recently noticed excessive CPU usage in my Iced application when I left a key pressed while writing in a TextInput. I tracked down the introduction of this behavior to the time I upgraded to Iced 0.12, and I was able to strip down my code to a minimal example that exhibits it. It's not related to TextInputs but maybe containers' Appearance.
The example is at https://git.sr.ht/~lufte/vimini/tree/high-cpu-bug. Edit Cargo.toml and src/main.rs to switch between 0.10 and 0.12. All you need to do is run the app and keep any key pressed. I see around 35% usage on my 4-core processor with the 0.12 version.
What is the expected behavior?
Same CPU usage as in 0.10
Version
crates.io release
Operating System
Linux
Do you have any log output?
No response
The text was updated successfully, but these errors were encountered: