V1.5.0.1413b (x64) allow_multiple_windows=0 not work

Found a bug in "Everything"? report it here
Post Reply
ncnnnn
Posts: 3
Joined: Tue Jul 15, 2025 12:39 am

V1.5.0.1413b (x64) allow_multiple_windows=0 not work

Post by ncnnnn »

V1.5.0.1400a (x64)
Multiple clicks result in only one instance,

V1.5.0.1413b (x64)
Multiple clicks result Multiple instance,
ncnnnn
Posts: 3
Joined: Tue Jul 15, 2025 12:39 am

Re: V1.5.0.1413b (x64) allow_multiple_windows=0 not work

Post by ncnnnn »

allow_multiple_windows=0
allow_multiple_instances=0
therube
Posts: 5716
Joined: Thu Sep 03, 2009 6:48 pm

Re: V1.5.0.1413b (x64) allow_multiple_windows=0 not work

Post by therube »

What do you mean by "multiple clicks" & "one/multiple instances"?

Multiple clicks, of what?
Multiple instances, of what?

What are you doing, & what is happening, & what are you look to happen?

Oh.

allow_multiple_windows

Create a new search window or show an existing search window when Everything.exe is run. If set to 1, a new search window is always created. If set to 0 and no search window exists a new one is created. If set to 0 and a search window already exists, the existing search window is shown.
https://www.voidtools.com/support/everything/ini/


OK, with that, 1413b, I am seeing the expected action.

allow_multiple_windows=0 (the default setting)

C:\> Everything.exe -s abc123

Opens Everything, searches for "abc123".

C:\> Everything.exe -s abc123

Opens Everything, searches for "abc123" - in the currently open window/tab.

C:\> Everything.exe -s abc123
C:\> Everything.exe -s abc123
C:\> Everything.exe -s abc123

Ditto, all searches open in the same window/tab.

-

allow_multiple_windows=1

C:\> Everything.exe -s abc123

Opens Everything, searches for "abc123" - in a new window.

C:\> Everything.exe -s abc123
C:\> Everything.exe -s abc123
C:\> Everything.exe -s abc123

Ditto, all searches open in a new window.
therube
Posts: 5716
Joined: Thu Sep 03, 2009 6:48 pm

Re: V1.5.0.1413b (x64) allow_multiple_windows=0 not work

Post by therube »

So, why aren't you seeing the same?

You aren't running from a command line/batch file.

Tell us about your "click".
void
Developer
Posts: 19846
Joined: Fri Oct 16, 2009 11:31 pm

Re: V1.5.0.1413b (x64) allow_multiple_windows=0 not work

Post by void »

Check if you are calling Everything with -new-window

-new-window will override allow_multiple_windows=0

Please send your Help -> Troubleshooting information.
ncnnnn
Posts: 3
Joined: Tue Jul 15, 2025 12:39 am

Re: V1.5.0.1413b (x64) allow_multiple_windows=0 not work

Post by ncnnnn »

Sorry for my English. I hope translation software can do better. Thank you.

I created a shortcut in the taskbar, without any parameters, just the absolute exe path.

Originally, when I set it to allow only one window, if I clicked it once, it would create one window, and clicking it again would activate the existing window in Everything.

But in the current version, if I click it again, it opens a new window. This setting seems to have become ineffective.
void
Developer
Posts: 19846
Joined: Fri Oct 16, 2009 11:31 pm

Re: V1.5.0.1413b (x64) allow_multiple_windows=0 not work

Post by void »

It's the new -is-relaunch-command command line option that is sent when clicking on the taskbar button.

This will ignore your allow_multiple_windows setting.
I'll have this fixed in the next update.

For now, right click the Everything taskbar button.
Right click Everything and click Properties.
Add
-no-new-window
to the end of the target.
therube
Posts: 5716
Joined: Thu Sep 03, 2009 6:48 pm

Re: V1.5.0.1413b (x64) allow_multiple_windows=0 not work

Post by therube »

-is-relaunch-command
I gather that comes about during an installation, when a particular install setting is set?
Oh, but it must be setting that (adding that switch) in the Windows Registry?

(And in that regard, if is already running, you're opening a New Window, rather then simply displaying the current window/tab.
Odd, I'd think?)
void
Developer
Posts: 19846
Joined: Fri Oct 16, 2009 11:31 pm

Re: V1.5.0.1413b (x64) allow_multiple_windows=0 not work

Post by void »

I gather that comes about during an installation, when a particular install setting is set?
The relaunch command is set when the main Everything window is created.
This registers the relaunch command, icon and display name with the window.
Windows uses this information when showing or pinning Everything in the taskbar button.


Oh, but it must be setting that (adding that switch) in the Windows Registry?
Windows might store the -is-relaunch-command switch in the registry, but that's outside the control of Everything.
You can remove the -is-relaunch-command switch from the shortcut by right clicking the taskbar, right clicking Everything and clicking properties.


(And in that regard, if is already running, you're opening a New Window, rather then simply displaying the current window/tab.
Odd, I'd think?)
Generally, the intention for the relaunch command is to create a new window.
That is why I hard-coded it as such.
There might be another issue as clicking on the taskbar button should activate the already-running Everything, not run the relaunch command.

@ncnnnn, please try unpinning Everything and re-pinning Everything.
Post Reply