squidowl / halloy

IRC application written in Rust
GNU General Public License v3.0
1.67k stars 65 forks source link

Window appears lagging when resizing #60

Closed casperstorm closed 1 year ago

casperstorm commented 1 year ago

Noticed a release build on my Windows machine acted quite laggy. Maybe advanced text?

https://github.com/squidowl/halloy/assets/2248455/39fa1269-d2b4-4045-bf88-e1c7c94c82e3

tarkah commented 1 year ago

Does this happen if you disable advanced text?

casperstorm commented 1 year ago

Does this happen if you disable advanced text?

Not to the same degree; its diffidently text shaping that does it here. 3 buffers and its almost un-resizable.

tarkah commented 1 year ago

Interesting. I don't see this issue on Linux.

casperstorm commented 1 year ago

Neither do I on macOS - only on my Windows machine.

ineeee commented 1 year ago

i can confirm, also happens on my machine. is there a way for me to switch between iced's different rendering engines? maybe it happens on vulkan but not on opengl?

tarkah commented 1 year ago

i can confirm, also happens on my machine. is there a way for me to switch between iced's different rendering engines? maybe it happens on vulkan but not on opengl?

You can try ICED_BACKEND=tiny-skia for the software renderer

ineeee commented 1 year ago

tiny-skia is so much worse, as laggy as the video in the OP

ineeee commented 1 year ago

today i noticed that only horizontal resizing is laggy, vertical is perfectly smooth. text wrapping is slow maybe?

casperstorm commented 1 year ago

Closing in favor of #135