Open rscarson opened 1 month ago
Thanks, i can reproduce:
import { ScrollView } from "std-widgets.slint";
export component Example {
ScrollView {
viewport-width: v.width;
v := VerticalLayout {
}
}
}
There is a binding loop but the compiler don't see it.
Edit: even more self-contained:
component ScrollView {
in-out property <length> viewport-width <=> flickable.viewport-width;
flickable := Flickable {
@children
}
}
export component Demo {
ScrollView {
viewport-width: v.width;
v := VerticalLayout { }
}
}
The Flickable itself create a two way binding between the flickable.viewport-width
and the internal's viewport.width
property.
Maybe similar to https://github.com/slint-ui/slint/issues/417
This crashes both the language server and the actual software I am writing
Error dump was a long set of these