Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ListViewFilter - Variable unselect while searching #6768

Closed
PrimozGodec opened this issue Mar 20, 2024 · 0 comments · Fixed by biolab/orange-widget-base#270
Closed

ListViewFilter - Variable unselect while searching #6768

PrimozGodec opened this issue Mar 20, 2024 · 0 comments · Fixed by biolab/orange-widget-base#270
Assignees
Labels
bug A bug confirmed by the core team

Comments

@PrimozGodec
Copy link
Contributor

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.

Screen.Recording.2024-03-20.at.16.01.46.mov

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.

@PrimozGodec PrimozGodec added the bug report Bug is reported by user, not yet confirmed by the core team label Mar 20, 2024
@janezd janezd added bug A bug confirmed by the core team and removed bug report Bug is reported by user, not yet confirmed by the core team labels Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug confirmed by the core team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants