slint-ui / slint

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

ListView model shows invalid - outdated items, after replacing entire model #3711

Closed qarmin closed 1 year ago

qarmin commented 1 year ago

1.3.0 - https://github.com/slint-ui/slint/tree/olivier/fix-3700

After removing items from listview(done via replacing entire model), I still see old items state.

Steps to reproduce:

czkawka_slint_gui.zip

https://github.com/slint-ui/slint/assets/41945903/4e59d69f-53a3-4602-9f1e-d60365778052

ogoffart commented 1 year ago

Thanks for your bug report. This is https://github.com/slint-ui/slint/issues/2598 , so i'm closing it as duplicated. (but thanks anyway for reporting)