Unexpected "Search Bar" BEHAVIOR after running Everything and trying to search immediately.

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Debugger
Posts: 630
Joined: Thu Jan 26, 2017 11:56 am

Unexpected "Search Bar" BEHAVIOR after running Everything and trying to search immediately.

Post by Debugger »

Probably a bug, although this problem occurred quite often and in an older version.
Well, after launching Everything and INSTANT trying to type anything in the “Search bar”, the application behaves unexpectedly, jumps to folders, tries to delete something.
I have to wait about 1 - 2 minutes for Everything to stabilize.
I have several “2TB” ONLY SSDs.

“All Everything settings” I have a default. I haven't changed anything.
horst.epp
Posts: 1443
Joined: Fri Apr 04, 2014 3:24 pm

Re: Unexpected "Search Bar" BEHAVIOR after running Everything and trying to search immediately.

Post by horst.epp »

Missing any version info.
If you let Everything start with the system and the service is installed
no such thing will happen using version 1.5.
Version 1.4 needs some time after start-up before you can search.
This is not the case with version 1.5
Debugger
Posts: 630
Joined: Thu Jan 26, 2017 11:56 am

Re: Unexpected "Search Bar" BEHAVIOR after running Everything and trying to search immediately.

Post by Debugger »

Yes, everything 1.5 works OK after you launch it, but you have to wait a while before you want to immediately type something into the search bar.

Version 1.5.0.1371a (x64)
horst.epp
Posts: 1443
Joined: Fri Apr 04, 2014 3:24 pm

Re: Unexpected "Search Bar" BEHAVIOR after running Everything and trying to search immediately.

Post by horst.epp »

Debugger wrote: Mon May 06, 2024 1:34 pm Yes, everything 1.5 works OK after you launch it, but you have to wait a while before you want to immediately type something into the search bar.

Version 1.5.0.1371a (x64)
Not here, it starts with the system.
After a login I often start to search by using Everything toolbar and this never failed.
______________________________________________________
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3
therube
Posts: 4953
Joined: Thu Sep 03, 2009 6:48 pm

Re: Unexpected "Search Bar" BEHAVIOR after running Everything and trying to search immediately.

Post by therube »

Many, many, many changes between Everything openings?
Indexing Properties that might be time consuming, that might need to be caught up on, between Everything openings?


(Why would anyone ever even close Everything, except to update? ;-))
Debugger
Posts: 630
Joined: Thu Jan 26, 2017 11:56 am

Re: Unexpected "Search Bar" BEHAVIOR after running Everything and trying to search immediately.

Post by Debugger »

Yes with me indexing is even at 1Gb/s, but it still needs at least 30 seconds before you can fast type any phrase into the search box. And more specifically: (more than 1 character!)
void
Developer
Posts: 16665
Joined: Fri Oct 16, 2009 11:31 pm

Re: Unexpected "Search Bar" BEHAVIOR after running Everything and trying to search immediately.

Post by void »

Debug logs might help find the issue.

In Everything, type in the following search and press ENTER:

/restart-debug-log

Wait for Everything to restart.
Try typing in your search.
After Everything stabilizes, from the Tools menu, under the Debug submenu, click Stop Debug Logging.
---This will open your Everything Debug Log.txt in Notepad.
Could you please upload this file here:
/bugreport
Debugger
Posts: 630
Joined: Thu Jan 26, 2017 11:56 am

Re: Unexpected "Search Bar" BEHAVIOR after running Everything and trying to search immediately.

Post by Debugger »

Done.
Message Sent Successfully

Thank you for contacting voidtools.
void
Developer
Posts: 16665
Joined: Fri Oct 16, 2009 11:31 pm

Re: Unexpected "Search Bar" BEHAVIOR after running Everything and trying to search immediately.

Post by void »

Thank you for the logs.



first file search: 0.018234 seconds
last file search: 0.000002 seconds

Searching performance looks fine.



I think this is related to single click open.
Do you want single click open enabled? (Tools -> Options -> Results -> Single click open)

My guess is the mouse is hovering over the result list when you start Everything and this unintentionally selects and focuses a file/folder in the results.
or you move the mouse over the results after focusing the search box.

I will add an option to stop Everything from focusing the result list on hover.
Debugger
Posts: 630
Joined: Thu Jan 26, 2017 11:56 am

Re: Unexpected "Search Bar" BEHAVIOR after running Everything and trying to search immediately.

Post by Debugger »

The search bar does not work properly e.g. I type the character “any type word or char ”on the keyboard then the mouse pointer goes e.g. to random the folder or file
The tool has some taskbar lag or general internal errors, making the “cursor” work incorrectly.
Instead of the cursor being on the taskbar it passes the cursor on folder or file names randomly!
Version 1.5.0.1371a (x64)

I checked the version
Version 1.4.1.1024 (x64)
and here it works correctly I can paste any name into the search bar or write
void
Developer
Posts: 16665
Joined: Fri Oct 16, 2009 11:31 pm

Re: Unexpected "Search Bar" BEHAVIOR after running Everything and trying to search immediately.

Post by void »

Everything doesn't set the mouse cursor position.

Did you mean the focus goes to a file or folder in the result list?



Please try enable Tools -> Options -> Search -> Focus search on activate.
This will focus the search box when you click Everything in the taskbar.



Are you minimizing Everything?
This might cause Everything to be paged to disk.
When you click on the Everything taskbar, it may take a few seconds to restore Everything from your page file.

Please try enabling virtual_lock:
  • In Everything 1.5, from the Tools menu, click Options.
  • Click the Advanced tab on the left.
  • To the right of Show settings containing, search for:
    virtual
  • Select: virtual_lock
  • Set the value to: true
    ---
  • To the right of Show settings containing, search for:
    working
  • Select: min_working_set_size
  • Set the value to: 2147483647
    ---
  • Select: max_working_set_size
  • Set the value to: 2147483647
  • Click OK.
    ---
  • From the File menu, click Exit
  • Restart Everything.
This will help prevent Everything from being paged to disk.



If the issue persists, could you please send verbose debug output:
  • In Everything, from the Tools menu, under the Debug submenu, check Verbose.
  • From the Tools menu, under the Debug submenu, click Start Debug Logging.
    ---reproduce the issue where the cursor jumps
  • From the Tools menu, under the Debug submenu, click Stop Debug Logging.
    ---this will open your Everything Debug Log.txt in notepad.
  • Please upload this file here: /bugreport
Debugger
Posts: 630
Joined: Thu Jan 26, 2017 11:56 am

Re: Unexpected "Search Bar" BEHAVIOR after running Everything and trying to search immediately.

Post by Debugger »

I made all the settings. The Searchbar still does not always work properly. I have send the log.
Everything Debug Log-1.5a
void
Developer
Posts: 16665
Joined: Fri Oct 16, 2009 11:31 pm

Re: Unexpected "Search Bar" BEHAVIOR after running Everything and trying to search immediately.

Post by void »

Thank you for the verbose logs.
2024-05-08 10:54:38.575: EDIT message 00000008 0000000000040ea2 0000000000000000
2024-05-08 10:54:38.576: listview message 00000281 0000000000000001 00000000c000000f
2024-05-08 10:54:38.576: listview message 00000007 0000000000080e50 0000000000000000
The search box was focused.
You hovered over an item in the result list.
The result list was focused.


2024-05-08 10:54:39.054: listview message 00000102 0000000000000064 0000000000200001
You pressed 'd'
I'm guessing you were expecting the focus to still be in the search edit.
Everything jumps to the first result starting with d.




Set Tools -> Options -> Results -> Single click open to double click.
Does the issue persist?

The next alpha update will have an advanced focus_on_hover setting.
Debugger
Posts: 630
Joined: Thu Jan 26, 2017 11:56 am

Re: Unexpected "Search Bar" BEHAVIOR after running Everything and trying to search immediately.

Post by Debugger »

Set Tools -> Options -> Results -> Single click open to double click.
Awesome. Changing this setting resolved the general search issue. Thank you!
void
Developer
Posts: 16665
Joined: Fri Oct 16, 2009 11:31 pm

Re: Unexpected "Search Bar" BEHAVIOR after running Everything and trying to search immediately.

Post by void »

Everything 1.5.0.1374a adds an advanced setting to turn off focus on hover.

To disable focus_on_hover:
  • In Everything 1.5, from the Tools menu, click Options.
  • Click the Advanced tab on the left.
  • To the right of Show settings containing, search for:
    hover
  • Select: focus_on_hover
  • Set the value to: false
  • Click OK.
Note:
Windows Explorer will focus on hover by default on Windows 11.
Windows Explorer will not focus on hover by default on Windows 10 and earlier.
Everything's default is focus on hover.



focus_on_hover will only work if you enable single click open.



If you prefer single click over double click, please consider re-enabling single click open and setting focus_on_hover to false.
Post Reply