ListViewFilter - Variable unselect while searching
What's wrong?
Widgets that use ListViewFilter "forget" selected variables filtered out while searched. Watch the video below. In the console, I print selections. When a variable is filtered out by searching, it also gets removed from the setting, and a commit is called.
https://github.com/biolab/orange3/assets/6421558/e4a28dd5-b789-4051-9d27-82ac8f962358
For example, when Petal length and width variables are selected, they get unselected when they are filtered out from the view.
I would expect the variable would still be selected as it was in the deprecated ListViewSearch
How can we reproduce the problem?
Use a unique widget. Select petal length and width. Start typing "sepal" and then remove the filter. Previously selected variables are no longer selected.