sort by random and count:n doesnt work togheter

Found a bug in "Everything"? report it here
Post Reply
ftgp
Posts: 5
Joined: Wed Mar 09, 2022 8:24 pm

sort by random and count:n doesnt work togheter

Post by ftgp »

whenever I perform a serch, sort by random, then use like count:10 the app will always show me the same 10 results in a random order

Supposing I have a list of 26 files in a folder (A, B, C, D,..., X, Y, Z)

when I sort by random then count:10 the app will show me always A, B, C,...I, J in random order, instead of count from the whole 26 files

I think the correct is to return 10 random files from those 26
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: sort by random and count:n doesnt work togheter

Post by raccoon »

In Everything 1.5 which currently in development, selecting View -> Sort By -> Randomize while searching for count:10 will display 10 different items at random each time. If you assign a keyboard hotkey to the Randomize function, the key quickly cycles 10 different items with each press.

@void: Can we add the syntax randomize: to use in bookmarks especially?
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: sort by random and count:n doesnt work togheter

Post by void »

Thanks for the bug report ftgp,

Currently, Everything is only returning 10 of the first name-sorted results when randomizing.

I am working on a fix.
There's a few other edges cases too, like mixing file and folder results.



Bookmarks can set the sort to randomize.
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: sort by random and count:n doesnt work togheter

Post by void »

Everything 1.5.0.1310a adds the following search functions:

randomize:
shuffle:



count: should now return the correct results.
Post Reply