slint icon indicating copy to clipboard operation
slint copied to clipboard

Detect binding loops that applies to the Window itself

Open ogoffart opened this issue 2 years ago • 3 comments

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

ogoffart avatar Nov 23 '23 16:11 ogoffart

Maybe “dingind” -> “binding” :)

tronical avatar Nov 24 '23 01:11 tronical

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)

qarmin avatar Dec 24 '23 22:12 qarmin

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.

ogoffart avatar Dec 28 '23 07:12 ogoffart

Rebased, as the problem was reported multiple times again (eg #8065)

ogoffart avatar May 19 '25 15:05 ogoffart