Column Sort Lost on Alt-Bkspace

Discussion related to "Everything" 1.5 Alpha.
Post Reply
therube
Posts: 4979
Joined: Thu Sep 03, 2009 6:48 pm

Column Sort Lost on Alt-Bkspace

Post by therube »

Column Sort Lost on Alt-Bkspace - sometimes (I'm pretty sure...)


1284 (but it was also there in 1283)

/sometimes/ sort ?column? changes on alt+bkspace

- search: <trains | planes>
say you're sorted on Length, decending
- (revised) search: <trains | planes> red
alt-bkspace (again at, <trains | planes>
- (revised) search: <trains | planes> blue
alt-bkspace (again at, <trains | planes>

- /sometimes/, on returning back, you're no longer sorted on Length, but rather Name


I'll have to pay closer attention & see if I can figure what might be triggering this.
It most likely happened in 1283 & 1284. Not sure, particularly if it was in earlier also?
void
Developer
Posts: 16754
Joined: Fri Oct 16, 2009 11:31 pm

Re: Column Sort Lost on Alt-Bkspace

Post by void »

This is expected.


Everything will attempt to search with the existing sorted results where possible.
When adding to your search Everything will search with the existing sorted results.
When removing from your search Everything will need to perform a full re-search.


For example, Everything will search with the existing sorted results when searching from:
<trains | planes>
to:
<trains | planes> red
(add red to an existing search)
Everything will keep the current length sort.
Everything shows use old result arrays in the debug output.


Everything must perform a full re-search when searching from:
<trains | planes> red
to:
<trains | planes>
(remove red from an existing search)
The length sort will be lost when using a full re-search.
The sort will revert back to the last fast sort (Name, Path, Size, Date Modified etc).


I will look into options to always keep the sort when using alt + backspace (Search Edit -> Undo).


Consider indexing the length property and enabling fast sort.
Post Reply