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

Ensure overlay appears after rubberband selection in ListView #2156

Merged
merged 2 commits into from
Mar 12, 2023

Conversation

jeremypw
Copy link
Collaborator

@jeremypw jeremypw commented Mar 8, 2023

Fixes #2151
Fixes #2152

This issue was caused by a subtle difference in Gtk.TreeView and Gtk.IconView. The former does not signal selection changes caused by pointer movement during rubberbanding whereas the latter does. So if the rubberband starts outside the list the selection change never gets signalled.

So we have to ensure AbstractDirectoryView updates and signals the selection change in the button release handler.

Copy link
Member

@lenemter lenemter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes the issues. Nice work!

@jeremypw jeremypw merged commit 75fe88a into master Mar 12, 2023
@jeremypw jeremypw deleted the fix-rubberband branch March 12, 2023 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants