lin-ycv / EverythingPowerToys

Everything search plugin for PowerToys Run
Eclipse Public License 2.0
2.21k stars 58 forks source link

[Request] Set the default sorting method to access time descending #49

Closed airium closed 1 year ago

airium commented 1 year ago

Is your feature request related to a problem? Please describe. It's not a problem.

Describe the solution you'd like This is to discuss whether we can set the factory default sorting method from 14 (modified time desc) to 24 (access time desc) in settings.toml.

A major usage of the plugin is to quick access any exe program, especially if they are not included in the start menu. Currently, desc sorting by modified time won't top list any exe program as they're not modified. You must add additional keyword like "exe" to filter them particularly . Descending sorting by access time make it easier by top listing them once accessed, so you won't need to type "exe" next time. Since modifying files will mostly update access time, sorting by access time can be regarded as a super set of sorting by modified time.

Of course, the users can modify the sorting method by themselves in settings.toml. But I expect to make 24 as the factory default so I (and probably many others) won't need to maually change it (e.g. new PC).

Describe alternatives you've considered None

Additional context If it's agreed, I can submit the PR.

lin-ycv commented 1 year ago

I'll have to test the difference for a few weeks to evaluate whether it's desirable or not. Would it start prioritizing dll files since those would be accessed by programs but not modified. With launching programs, Run has the Program plugin which I find pretty good at finding installed programs.

lin-ycv commented 1 year ago

after some testing I decide this is not a behaviour I'd like to have as the default. the main reason being that everything doesn't index date accessed by default image

If indexing date access isn't enabled, and I use this sort method, no results are returned. This would be confusing for novice users, and for slightly more advanced users, it takes basically no time to change the settings file (furthermore with each update, you don't actually have to overwrite the settings file, so you just set it once)

airium commented 1 year ago

Thanks for the test. I agree with you.