Open showier-drastic opened 1 month ago
Thanks for the graphical report :). I'm curious, could you try enabling the renderer-skia
feature and see if that changes the output for you? (that'd use a meta CA layer, instead of nsopenglcontext)
No, does not happen with skia.
Thanks for confirming. I suggest that as a workaround for now.
Platform: macOS ARM + latest Rust
Reproduction code: https://github.com/showier-drastic/slint-rust-bug-demo
I have written code to do a simple layout, where the font size of numbers are adjusted with window size, and the rest of the window is filled with blue color. The code is pretty simple:
Now the bug is, when you drag the corner to adjust the window size and release the mouse, there's some chance that the window will display something crippled, like shown in the video:
https://github.com/user-attachments/assets/b5bd65ee-928c-4a0d-a17b-67c398e24696
Note that this happens probabilistically (most time it works), but it typically will happen within 1 minute of playing.