context menu lag..

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
harryray2
Posts: 1050
Joined: Sat Oct 15, 2016 9:56 am

context menu lag..

Post by harryray2 »

I still seem to be getting quite a long lag when right clicking for the context menu...not as bad as in v. 1.4 but still long. Any way of speeding it up?

Thanks
horst.epp
Posts: 1349
Joined: Fri Apr 04, 2014 3:24 pm

Re: context menu lag..

Post by horst.epp »

harryray2 wrote: Fri Jun 04, 2021 7:18 pm I still seem to be getting quite a long lag when right clicking for the context menu...not as bad as in v. 1.4 but still long. Any way of speeding it up?

Thanks
Context menus are build with a chain of all handlers and build by Windows.
Here after the first right click all further ones are very fast.
void
Developer
Posts: 15439
Joined: Fri Oct 16, 2009 11:31 pm

Re: context menu lag..

Post by void »

Is there only a delay when right-clicking a single file? or is there only a delay when right-clicking many files? -or both?

For many files, a delay is expected.
Very roughly.. you can expect a 1 second delay per 1000 files.

Common actions can be executed for the current selection immediately under the main File menu.
For example, select 10,000+ items, main File menu -> Delete.

To disable context menu shell extensions in Everything:
  • In Everything, type in the following search and press ENTER:
    /context_menu_shell_extensions=0
    where 0 is off and 1 is on (default)
  • If successful, you should see context_menu_shell_extensions=0 in the status bar for a few seconds.
If this helps, consider disabling shell extensions with ShellExView

Information on building the context menu is shown in the debug console.
To toggle the debug console:
  • In Everything, type in the following search and press ENTER:
    /debug
harryray2
Posts: 1050
Joined: Sat Oct 15, 2016 9:56 am

Re: context menu lag..

Post by harryray2 »

The delay is for single and multiple lines...It usually happens after Everything has been restarted, the index rebuilt or when I haven't used Everything for a search for a while.

After the initial delay the problem goes away until the index is rebuilt again etc.
void
Developer
Posts: 15439
Joined: Fri Oct 16, 2009 11:31 pm

Re: context menu lag..

Post by void »

Could you please enable debug logging and send the debug logs after the context menu appears slow:
  • In Everything, from the Tools menu, under the Debug submenu, click Start Debug Logging.
    ---Use Everything as normal until you notice the slow context menu---
  • from the Tools menu, under the Debug submenu, click Stop Debug Logging.
    ---this will open your Everything Debug Log.txt file in Notepad.
  • Please send this file to support@voidtools.com
therube
Posts: 4634
Joined: Thu Sep 03, 2009 6:48 pm

Re: context menu lag..

Post by therube »

Related (& something ShellExView may have helped point out), 7-zip: 20x slower menus on windows!.
For example, if you call the menu for 20000 files, without the 7-zip menu shell extension (show in context menu option) it will open in 3 seconds, and with it more than a minute! And whether I want to use 7-zip or not, such dynamic context menu extensions are always loaded and slow down the system.
harryray2
Posts: 1050
Joined: Sat Oct 15, 2016 9:56 am

Re: context menu lag..

Post by harryray2 »

Thanks, I'll look into that..unfortunately, the 7zip context entry is an important part of my system.

I'll try to take out some of the options, such as the 7zip CRC entry, and see if that makes a difference.
horst.epp
Posts: 1349
Joined: Fri Apr 04, 2014 3:24 pm

Re: context menu lag..

Post by horst.epp »

harryray2 wrote: Wed Aug 02, 2023 6:49 pm Thanks, I'll look into that..unfortunately, the 7zip context entry is an important part of my system.

I'll try to take out some of the options, such as the 7zip CRC entry, and see if that makes a difference.
You should set the "Cascaded context menu" option.
Post Reply