File, New search window - why?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
ChrisGreaves
Posts: 684
Joined: Wed Jan 05, 2022 9:29 pm

File, New search window - why?

Post by ChrisGreaves »

From the menu system I choose File, New and now have two separate maximized windows with Everything.
MenuSystem_11.png
MenuSystem_11.png (13.14 KiB) Viewed 969 times
Win11 Task Manager shows two processes named "Everything".
I think that two separate windows allows me to develop good search strings in that I can step from one Window to the next, increasing complexity at each step.

(1) Task Manager suggests that there really are two copies of Everything 1.5a loaded into memory. Yes?
(2) Both copies of Everything should be using the same, common databases as a source of data, Yes?
(3) In theory, assuming I am doing nothing else on my system, a File, Export, filelist from each Window should produce two identical CSV files, yes?
Thanks, Chris
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: File, New search window - why?

Post by therube »

It would appear that Windows Task Manager treats every Everything window as a separate "Application" (at least that's what it is called in Win7).

That said, there is only one Everything process regardless of how many Everything windows are opened (for a particular Everything instance).

(There may also be a separate Everything service running, which WTM shows in its' Process tab.)


(Other programs, Process Hacker or Process Explorer, will show only one [& what they will call] Process, with the associated Everything Service, being shown as a Service.)
void
Developer
Posts: 16672
Joined: Fri Oct 16, 2009 11:31 pm

Re: File, New search window - why?

Post by void »

(1) Task Manager suggests that there really are two copies of Everything 1.5a loaded into memory. Yes?
There's only one process here with two Windows.
Task Manager lists one process with two windows.


(2) Both copies of Everything should be using the same, common databases as a source of data, Yes?
Yes, as there's only one process.


(3) In theory, assuming I am doing nothing else on my system, a File, Export, filelist from each Window should produce two identical CSV files, yes?
The windows will share the same index.



Multiple instances can be used to run multiple processes / different indexes.
ChrisGreaves
Posts: 684
Joined: Wed Jan 05, 2022 9:29 pm

Re: File, New search window - why?

Post by ChrisGreaves »

void wrote: Thu Apr 06, 2023 4:38 amThere's only one process here with two Windows.
The windows will share the same index.
Thank you Void.
I think I understand now:
If I had two separate projects (as mentioned in my recent reply) then a use for two windows might be that of consolidating files from each contributing project into a third window set up for an offshoot project.

Specifically, when a project such as a User Tutorial threatens to overwhelm me, I could split one project (folder) into three separate project folders (basic, search strings, all the rest) and use the three new windows to keep tabs on what has so far been distributed.
Multiple instances can be used to run multiple processes / different indexes.
Hmmm. I met multiple instances when i was younger :D and was having trouble with installation. I will skip this - for now - and come back to it later!
Thanks again
Chris
Post Reply