-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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: Keep sort and group options consistent between tabs #16572
base: main
Are you sure you want to change the base?
Fix: Keep sort and group options consistent between tabs #16572
Conversation
How much of a performance difference is there? |
As you may think, the issue involves mainly big folders: with small ones (~ 50 items) I saw no difference. The real issue is with RAM usage: updating two panes uses twice the RAM. Partial_update.mp4Complete_update.mp4Should I push the code to update both the panes so that you can test by yourself? |
I think it's important to update both panes, but we should make sure that the focus remains on the active pane. While memory usage is a valid concern, I don't think it's common for users to have the same folder open in both panes and then decide to change the grouping. |
Focus is fine, it was me changing it |
Code wise, looks great otherwise. |
Co-authored-by: Yair <39923744+yaira2@users.noreply.github.com>
Resolved / Related Issues
To prevent extra work, all changes to the Files codebase must link to an approved issue marked as
Ready to build
. Please insert the issue number following the hashtag with the issue number that this Pull Request resolves.Notes
I'm not sure how to handle multiple panes: currently the layout is updated only when the pane is focused, to avoid wasting resources (see video below). Is this fine? Would it be better to update the layout istantly?
Steps used to test these changes
Stability is a top priority for Files and all changes are required to go through testing before being merged into the repo. Please include a list of steps that you used to test this PR.
sort/group
option/order
in a tabSync preferences between folders
settingPanes_behaviour.mp4