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

Fix unexpected selection after file added #2358

Merged
merged 3 commits into from
Jan 19, 2024
Merged

Conversation

jeremypw
Copy link
Collaborator

@jeremypw jeremypw commented Dec 9, 2023

Fixes #2357

For performance reasons, resorting the model after adding files was throttled in a previous commit. So files should not be added to the selection until the model has resorted else the wrong file may be selected.

It was noted that adding and, in particular, removing files does not scale well but that will need to be addressed later, maybe after porting to Gtk4.

@jeremypw jeremypw requested a review from a team January 14, 2024 14:50
Copy link
Member

@danirabbit danirabbit left a comment

Choose a reason for hiding this comment

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

Makes sense, nice job

@danirabbit danirabbit enabled auto-merge (squash) January 19, 2024 21:25
@danirabbit danirabbit merged commit d8e7f89 into main Jan 19, 2024
4 checks passed
@danirabbit danirabbit deleted the fix-select-after-new-file branch January 19, 2024 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unexpected selection after creating a new file
2 participants