slint
slint copied to clipboard
Detect binding loops that applies to the Window itself
The Window geometry depends on its constraints, so its constraints cannot depends on its geometry
This fixes Infinitely growing layout, and other panics
Fixes #3989 Fixes #2902
Maybe “dingind” -> “binding” :)
What is status of this PR?
I have random crashes related to logic bugs same as in linked issues, but when looking at CI I see that there are some regressions(or expected api breakage)
Yes, there is some API breakage and we're not confident we can do them. We're wondering if there isn't a better way to solve this problem.
Rebased, as the problem was reported multiple times again (eg #8065)