UI sometimes looks invalid when adjusting size #5681
Labels
a:backend-winit
Winit backend (mS,mO)
a:platform-macos
Issues specific to macOS (mS,bF)
bug
Something isn't working
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:
2024-07-24.19.33.24.mov
Note that this happens probabilistically (most time it works), but it typically will happen within 1 minute of playing.
The text was updated successfully, but these errors were encountered: