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

Use the same sorting order as Everything #524

Closed
1 task done
user1823 opened this issue Aug 11, 2024 · 5 comments
Closed
1 task done

Use the same sorting order as Everything #524

user1823 opened this issue Aug 11, 2024 · 5 comments
Labels
enhancement Enhancement to existing functionality

Comments

@user1823
Copy link

user1823 commented Aug 11, 2024

Preflight Checklist

Problem Description

Often, the search term is a part of the name of several files. So, all of them show up in the search results. However, I am usually interested in the files that I have opened recently. The other files are essentially archived.

When I search in Everything, the files I have opened recently are at the top. But, in EverythingToolbar, they are sorted alphabetically. (I am talking about the default settings of both Everything and EverythingToolbar.)

Proposed Solution

EverythingToolbar should follow the same sorting order as Everything by default.

Alternatives Considered

I tried changing the sort order in EverythingToolbar to Date Accessed but it asked me to enable Fast Sorting in Everything. When I tried to enable Fast Sorting in Everything, I noticed that it said "The search performance of Everything is reduced when sorting by date accessed."

I don't want to decrease the searching performance (I think it won't be a significant reduction but still...). So, I didn't enable that option.

I wonder why EverythingToolbar isn't using the same sorting order as Everything.

Additional Information

Answering the question in #467

Are you sure it is actually sorted by date accessed in Everything? Looks like it is still sorting by name to me.

It seems to me that Everything sorts by name. BUT, if click on a search result to open it, it goes to the top and appears on the top on every subsequent search

Example:
In the following screenshot, note that Everything and EverythingToolbar display the files in the same order except for the one file at the top of Everything search results. This is the file that I opened recently by searching from Everything.
image

@srwi
Copy link
Owner

srwi commented Aug 11, 2024

Hi @user1823, I think you have probably set your Everything to sort by "Date run", which I don't think is the default in Everything. It will sort all files that have been run from within Everything or EverythingToolbar by "Date run" first. All files that don't have a run date will fall back to sort by name after that. Here is a screenshot where I have set EverythingToolbar to the same sorting method as Everything:
grafik

Automatically following the sorting method in Everything is currently not possible with the SDK, so unfortunately that can't be implemented.

@user1823
Copy link
Author

user1823 commented Aug 12, 2024

I think you have probably set your Everything to sort by "Date run"

I checked the settings and found that Everything is set to sort by Run Count (descending). I am sure that this is the default setting in Everything because I installed Everything yesterday only and I have not changed any settings.

Automatically following the sorting method in Everything is currently not possible with the SDK

OK, but it would still make sense to use the same default sorting method as Everything. In other words, EverythingToolbar should use Run Count (descending) as the default sort order.

@srwi
Copy link
Owner

srwi commented Aug 12, 2024

You are absolutely right. I checked it with a fresh installation and the default sort order is by run count (descending). I changed it to that for future installations of EverythingToolbar. Thanks for pointing it out!

@srwi srwi closed this as completed Aug 12, 2024
@srwi srwi added the enhancement Enhancement to existing functionality label Aug 12, 2024
@user1823
Copy link
Author

user1823 commented Sep 8, 2024

I updated to 1.4.0 today and the sort order was Date Run → Descending even though I had manually set it to Run count (descending) in the last version. So, this looks like the default isn't set correctly.

@srwi
Copy link
Owner

srwi commented Sep 8, 2024

You're right. Somehow I managed to mix it up from the time reading the issue to doing the implementation. Sorry about that. 😅

I'll release a fix later.

srwi added a commit that referenced this issue Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants