Automatically open folder again with "Open path with double click"

Found a bug in "Everything"? report it here
Post Reply
yfdyh000
Posts: 12
Joined: Wed Sep 07, 2016 1:44 am

Automatically open folder again with "Open path with double click"

Post by yfdyh000 »

1. Enable "Open path with double click" option.
2. Open any folder by double-clicking path column.
3. This folder is normally open, close it. Wait for about ten seconds, the folder is automatically opened again, interrupting the user and embarrassing situation.

Found in v1.4.0.713b and http://www.voidtools.com/Everything-1.4.1.736b.x64.zip.
therube
Posts: 5056
Joined: Thu Sep 03, 2009 6:48 pm

Re: Automatically open folder again with "Open path with double click"

Post by therube »

Does the same happen in the 32-bit version?

What does Options | General -> Context Menu => Open Path (& also Explore Path) show?
yfdyh000
Posts: 12
Joined: Wed Sep 07, 2016 1:44 am

Re: Automatically open folder again with "Open path with double click"

Post by yfdyh000 »

$openpath("%1") and $exec("%SystemRoot%\explorer.exe" /n,/e,/select,"%1").

As a missed, I use QTTabBar ver 1038, and I heard another people experience this problem when using this software and that software.

Yes, I can use http://www.voidtools.com/Everything-1.4.1.736b.x86.zip to reproduce this problem.
void
Developer
Posts: 17155
Joined: Fri Oct 16, 2009 11:31 pm

Re: Automatically open folder again with "Open path with double click"

Post by void »

Thanks for the bug report.

With QTTabBar 1038 installed, and an existing Explorer window opened to any folder, opening a path within Everything is causing the reported issue.

The issues occurs because the system call SHOpenFolderAndSelectItems is failing after 10 seconds (Error aborted) even though it succeeds.
Everything is then falling back to a to a system call ShellExecute and opening the folder again...

Setting your Open Path command in Tools -> Options -> Context menu -> Open Path -> Command to:
$exec("%SystemRoot%\explorer.exe" /n,/e,/select,"%1")
should fix the issue. Although it's opening Explorer in a new window instead of a new tab.

I've changed Everything to accept the aborted error as a successful call to SHOpenFolderAndSelectItems so it doesn't re-open a new window after 10 seconds...

If you would like to try this now, please try Everything 1.4.1.740b:
http://www.voidtools.com/Everything-1.4.1.740b.x64.zip
http://www.voidtools.com/Everything-1.4.1.740b.x86.zip
yfdyh000
Posts: 12
Joined: Wed Sep 07, 2016 1:44 am

Re: Automatically open folder again with "Open path with double click"

Post by yfdyh000 »

Thank you for your detailed investigation and resolve this issue!

I've tested to confirm that this problem is resolved in http://www.voidtools.com/Everything-1.4.1.740b.x64.zip.
Post Reply