Incorrect search count for bookmarks

Found a bug in "Everything"? report it here
Post Reply
etc
Posts: 49
Joined: Tue Jun 24, 2014 7:17 pm

Incorrect search count for bookmarks

Post by etc » Thu Jan 06, 2022 10:13 am

1.4.1.1015

Trigger a bookmark once.
Open "Organize Search History" and see its "Search Count" (=+2).

void
David Carpenter (Developer)
Posts: 9368
Joined: Fri Oct 16, 2009 11:31 pm

Re: Incorrect search count for bookmarks

Post by void » Thu Jan 06, 2022 11:14 am

I'm having trouble producing the issue on my end..

Are you pressing ENTER from the search box after opening the bookmark?
-Pressing ENTER would result in incrementing the search history count twice (once for opening the bookmark and again for pressing ENTER).

There might be a setting causing the problem, could you please send your Everything.ini from %APPDATA%\Everything to support@voidtools.com

etc
Posts: 49
Joined: Tue Jun 24, 2014 7:17 pm

Re: Incorrect search count for bookmarks

Post by etc » Thu Jan 06, 2022 4:44 pm

Well, I can reproduce it with default settings.
Please try these steps:

(Run Everything.exe in an empty folder, and enable the search history.)
Save a bookmark, e.g. "aaa".
Search with "bbb", press Enter key.
Trigger the bookmark.
Open the history. (The count for "aaa" is 2.)
Search with "bbb", press Enter key.
Trigger the bookmark.
Open the history. (The count for "aaa" is 4.)

raccoon
Posts: 683
Joined: Thu Oct 18, 2018 1:24 am

Re: Incorrect search count for bookmarks

Post by raccoon » Thu Jan 06, 2022 5:32 pm

Does the act of pressing the Enter key increment the search count, in addition to [x] Search as you type.

etc
Posts: 49
Joined: Tue Jun 24, 2014 7:17 pm

Re: Incorrect search count for bookmarks

Post by etc » Thu Jan 06, 2022 7:38 pm

@raccoon

Do you mean "Enable" by "[x]"?
"Search as you type" is enabled (by default).

During the steps above, I used Enter key only on "bbb".
The final result:
"aaa" = 4
"bbb" = 2

void
David Carpenter (Developer)
Posts: 9368
Joined: Fri Oct 16, 2009 11:31 pm

Re: Incorrect search count for bookmarks

Post by void » Fri Jan 07, 2022 4:26 am

Thank you for the additional information etc,

Everything is incrementing the search history count twice when the previously added search history is different.

Everything 1.4.1.1016 fixes the issue.

Post Reply