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_19333 #19814

Merged
merged 6 commits into from
May 9, 2024
Merged

Fix_19333 #19814

merged 6 commits into from
May 9, 2024

Conversation

sonora
Copy link
Member

@sonora sonora commented May 8, 2024

No description provided.

@@ -344,6 +348,7 @@ protected String getSortEntryName() {
@Override
public void setTracksSortMode(@NonNull TracksSortMode sortMode, boolean sortSubFolders) {
if (sortSubFolders) {
removeSurplusTabsSortModes();
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to call this method every time we change sort mode & perform settings.saveTabsSortModes() two times?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's true that I have not found the ideal place(s) yet when to call this. It's comparatively expensive, hence perhaps should not be called after every folder move, delete or rename

In a way I 'parked' it here under the 'sort subfolders' action where it can be triggered manually via the corresponding menu option. Will come back to this as I find some time, but it's not a priority 1 issue, I guess.

@Chumva Chumva merged commit 1529e20 into master May 9, 2024
3 checks passed
@Chumva Chumva deleted the hardy_fix_19333 branch May 9, 2024 13:09
@Chumva Chumva linked an issue May 9, 2024 that may be closed by this pull request
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.

MyPlaces>Tracks root folder and subfolders lose sorting order
2 participants