slint-ui / slint

Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
https://slint.dev
Other
16.96k stars 568 forks source link

Preview doesn't update changes in the file automatically #6090

Closed dorukotiv closed 1 week ago

dorukotiv commented 1 week ago

Slint preview used to update preview when the corresponding slint file is edited but not anymore. User needs to explicitly rerun the preview to see the changes. Additionally, if the parent component is used in preview, it doesn't check the updates happening in the children.

ogoffart commented 1 week ago

What version of the extension do you have? Maybe this is the same as https://github.com/slint-ui/slint/issues/6063 which was in the nightly extension but fixed yesterday.

ogoffart commented 1 week ago

Additionally, if the parent component is used in preview, it doesn't check the updates happening in the children.

This works for me (testing with the printerdemo) Could you give instructions on how to reproduce?

dorukotiv commented 1 week ago

What version of the extension do you have? Maybe this is the same as #6063 which was in the nightly extension but fixed yesterday.

it's not nightly. The version is 1.7.2

ogoffart commented 1 week ago

I just checked an i realize that the bug was also present in 1.7.2 But it should be fixed now in the master branch and should be in the next release. Thanks for filling an issue!