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
I expected that items would only be re-created when the orientation actually changes (i.e., when is-portrait is changed from false to true or from true to false). Still, in reality, I see the debug log ("... rectangle created") every time I resize the window, even when orientation stays the same (and a rectangle of a given color remains visible).
The text was updated successfully, but these errors were encountered:
Thanks for the bug report.
This is actually a duplicate of #3953
So I'm closing this bug as duplicated.
But thanks anyway for taking the time to report the bug with a nice testcase.
Thanks! I tried to find any existing issues, but it seems I failed 😉
I just wanted to mention (since the other issue is mentioning conditional elements strictly) that it seems that conditional elements are not required for the bug to occur.
openSUSE Leap 15.4
Slint 1.5 + Rust
Minimal example:
I expected that items would only be re-created when the orientation actually changes (i.e., when
is-portrait
is changed fromfalse
totrue
or fromtrue
tofalse
). Still, in reality, I see the debug log ("... rectangle created") every time I resize the window, even when orientation stays the same (and a rectangle of a given color remains visible).The text was updated successfully, but these errors were encountered: