Possible to avoid multiple instances?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
abr01
Posts: 91
Joined: Tue May 01, 2018 4:57 pm

Possible to avoid multiple instances?

Post by abr01 »

Hi. I couldn't find a setting to allow only one single instance of Everything 1.5 Alpha. Maybe you could make an option for that?
therube
Posts: 4985
Joined: Thu Sep 03, 2009 6:48 pm

Re: Possible to avoid multiple instances?

Post by therube »

What do you mean, "multiple instances"?
Instances, like a second Window (Ctrl+N) or a second Named Instance?
abr01
Posts: 91
Joined: Tue May 01, 2018 4:57 pm

Re: Possible to avoid multiple instances?

Post by abr01 »

I think i'm talking about multiple windows. I would like to have only one window. There is an option "allow multiple windows", but it is already unchecked. Therefore i would expect, that only one single window can be open at any time. I regularly find myself to have to close three or four windows in the task bar.
therube
Posts: 4985
Joined: Thu Sep 03, 2009 6:48 pm

Re: Possible to avoid multiple instances?

Post by therube »

There is an option "allow multiple windows"
Where?
abr01
Posts: 91
Joined: Tue May 01, 2018 4:57 pm

Re: Possible to avoid multiple instances?

Post by abr01 »

In -> settings -> UI -> "create a new window when running Everything". Note, that the german translation says "allow multiple search windows at the same time" here, which sounds like something slightly different to me.
horst.epp
Posts: 1448
Joined: Fri Apr 04, 2014 3:24 pm

Re: Possible to avoid multiple instances?

Post by horst.epp »

abr01 wrote: Thu Jul 13, 2023 5:19 pm I think i'm talking about multiple windows. I would like to have only one window. There is an option "allow multiple windows", but it is already unchecked. Therefore i would expect, that only one single window can be open at any time. I regularly find myself to have to close three or four windows in the task bar.
There is no such option.
The available option under General / UI just says
"Create a new window when running Everything".
If you're not closing the current Everything search window, you will get an additional one for each start, of course.
If you don't want this,
close the current search window if you are finished
or disable the option above.
abr01
Posts: 91
Joined: Tue May 01, 2018 4:57 pm

Re: Possible to avoid multiple instances?

Post by abr01 »

Well, like is said, that option IS disabled already! So maybe it's a bug?
horst.epp
Posts: 1448
Joined: Fri Apr 04, 2014 3:24 pm

Re: Possible to avoid multiple instances?

Post by horst.epp »

abr01 wrote: Thu Jul 13, 2023 8:54 pm Well, like is said, that option IS disabled already! So maybe it's a bug?
It's not a bug, at least it works for me under version 1.5.1352a x64.
Delete your ini file and try it with a fresh one.
abr01
Posts: 91
Joined: Tue May 01, 2018 4:57 pm

Re: Possible to avoid multiple instances?

Post by abr01 »

Ok, i could try that. But where would i get a new one? And i guess i would lose all settings. Can't i just rather change something in the .ini?
void
Developer
Posts: 16775
Joined: Fri Oct 16, 2009 11:31 pm

Re: Possible to avoid multiple instances?

Post by void »

Please make sure the following two options are disabled:
  • In Everything, from the Tools menu, click Options.
  • Click the UI tab on the left.
  • Uncheck Create a new window from the system tray.
  • Uncheck Create a new window when running Everything.
  • Click OK.


How are you launching Everything?

Please make sure you are not launching Everything with the -new-window command line option.



Have you enabled the allow_multiple_instances ini setting?



Everything will automatically create a new fresh Everything.ini if you delete your existing one.
Please make sure Everything is not running when deleting your Everything.ini
abr01
Posts: 91
Joined: Tue May 01, 2018 4:57 pm

Re: Possible to avoid multiple instances?

Post by abr01 »

I am starting Everything 1.5 via it's exe, which i launch per internal customized hotkey (Ctrl-Y). Now i suspect, that this is the reason, why i get new program windows, while i only want to clear the previous search. Therefore, the problem seems solved to me. I have to Shift-Tab Backspace to clear the search field then. Thank you.

Maybe you like to consider an additional option, that makes the hotkey clear the previous search instead of opening new windows? It is not a big deal anyway, but it would only save a couple of keyboard presses.


Image
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Possible to avoid multiple instances?

Post by NotNull »

I did reconfigure the Esc key to clear the search and activate the search bar:
2023-07-14 23_06_56-Options - Everything (1.5a).png
2023-07-14 23_06_56-Options - Everything (1.5a).png (34.65 KiB) Viewed 1927 times
abr01
Posts: 91
Joined: Tue May 01, 2018 4:57 pm

Re: Possible to avoid multiple instances?

Post by abr01 »

Not a bad idea, maybe i try that. Thank you all!
Post Reply