Page 1 of 1

Workflow question

Posted: Sun Nov 20, 2022 3:09 pm
by Alexo
Let's say I have two files in a folder: file1.xml and file2.xml, which I would like to compare from file explorer in a non-default session.

If I select both files, right-click, and choose "Compare", EDP will compare them in the default unnamed session.

However, I have a customized session that ignores parts of the files I am not interested in. Let's call it "mysession".

If I try to start a "New Comparison" of those files with the desired session settings, EDP will open a new widow to compare them.
(Note: turning "Run new instance when comparing FILES" off is not a solution since I do want EDP to open a new window when comparing files from a directory comparison)

How do I recompare the current files (or directories) with setting taken from a different session in the same window?

Re: Workflow question

Posted: Sun Nov 20, 2022 4:47 pm
by psguru
The only way to do it is to specify the /se command line option in Options | Global | Explorer Integration | Command line options.

Re: Workflow question

Posted: Sun Nov 20, 2022 6:20 pm
by Alexo
psguru wrote: Sun Nov 20, 2022 4:47 pm The only way to do it is to specify the /se command line option in Options | Global | Explorer Integration | Command line options.
Wouldn't it open every comparison from Windows explorer in the specified session?

That is not what I need.

What I want to do is to re-open the current file (or folder) comparison in the current window but using a different session settings.
Or, more generally, an option to perform a "new comparison" in the same window.

If this is not possible, I'd like to submit a request for this enhancement.

Thank you!

Re: Workflow question

Posted: Mon Nov 21, 2022 9:24 am
by psguru
How would that work? How do you specify additional information in Explorer context menu?

Re: Workflow question

Posted: Mon Nov 21, 2022 10:51 am
by Alexo
psguru wrote: Mon Nov 21, 2022 9:24 am How would that work? How do you specify additional information in Explorer context menu?
I wouldn't.

After I open the comparison from Explorer (using the default session), I want to re-open it in EDP (using a different session) in the same window.

More generally, I want an option to open a new comparison from within EDP in the same window (since 99% of the times I no longer need the previous one), but I'd like the option to be selectable.

Re: Workflow question

Posted: Mon Nov 21, 2022 11:16 am
by psguru
But can't you already do this? Open the Compare dialog and select a new session with your files that are already in the dialog. Just make sure to set "Retain file/directory pair when changing session" in Options | Global.

Re: Workflow question

Posted: Mon Nov 21, 2022 12:07 pm
by Alexo
It opens the new comparison in a new window, I'd like to reuse the old one.

Re: Workflow question

Posted: Mon Nov 21, 2022 12:25 pm
by psguru
It open a new instance only if you have "Run in new instance" checked on the Compare dialog.

Re: Workflow question

Posted: Mon Nov 21, 2022 2:41 pm
by Alexo
That's the thing: When I am comparing folders, I do want individual file comparisons from those folders to open in a separate window.
But when I am just comparing 2 files, and want to compare a different pair of files (or the same files in a different session), I want to reuse the existing window.

To me, those are two different workflows, and unfortunately, there is no way to distinguish them.

It would be great if the following operations could have separate settings:
- Starting a new comparison by double-clicking a subdirectory from a directory comparison
- Starting a new comparison by double-clicking a file from a directory comparison
- Starting a new comparison by using "New Comparison"

Edit:
psguru wrote: Mon Nov 21, 2022 12:25 pm It open a new instance only if you have "Run in new instance" checked on the Compare dialog.
Not really.

I tried unchecking "Run new instance when comparing FILES" in the default session, but it had no effect on the behaviour:

1) Ran EDP, and compared 2 files.
2) made sure that "Run new instance when comparing FILES" is unchecked.
3) Selected "New Comparison" and chose either 2 different files or the same files in s different session.
4) The new comparison opened in a new window.

Re: Workflow question

Posted: Mon Nov 21, 2022 2:48 pm
by psguru
I wasn't talking about "Run new instance when comparing FILES" option. I was referring to the checkbox on the Compare dialog.

Of course, I could be completely confused. Haven't you started with the problem in Exporter comparison? Why are you now talking about directory comparison and launching EDP from there?

Re: Workflow question

Posted: Mon Nov 21, 2022 4:34 pm
by Alexo
psguru wrote: Mon Nov 21, 2022 2:48 pm I wasn't talking about "Run new instance when comparing FILES" option. I was referring to the checkbox on the Compare dialog.
Damn, I completely missed that one!
That's exactly what I was asking for, thank you!