Page 1 of 1

Different behaviour of the same option

Posted: Thu Sep 23, 2021 5:49 am
by AlexL
If we have enabled option:

Code: Select all

Tools->Options...->Misc->Messages->"Some comparison options have changed" message
and then toggle option:

Code: Select all

Tools->Options...->Text Comparison->Ignore white spaces in lines->All
then we indeed see the prompt "Some comparison options have changed. Would you like to re-compare now?" as it should be.
However, if we put the latter option (about spaces) to the customized toolbar and toggle it from there, then the re-compare procedure starts without any prompt.
Is this the designed behaviour?

ExamDiff Pro v12.0.1.8 (64 bits).

Re: Different behaviour of the same option

Posted: Thu Sep 23, 2021 1:59 pm
by psguru
Yes. When you use the toolbar, it's effectively a command, and it consists of changing the respective option and recomparing.

Re: Different behaviour of the same option

Posted: Fri Sep 24, 2021 12:47 am
by JeremyNicoll
That seems strange to me. Finding one's way into Options and navigating the options tree to locate a specific option is such a deliberate process that it's hard to see how one could do it accidentally ... so the warning then is unlikely to be needed - unless of course one changed the 'wrong' option.

But clicking a toolbar icon, perhaps the 'wrong' one, is a whole lot easier to do and it's just a single click. I'd have thought a user might more reasonably want the warning in that case.

Re: Different behaviour of the same option

Posted: Fri Sep 24, 2021 9:13 am
by psguru
It's not about safety of an option change, after all the change can be easily undone. The toolbar command is simply a shortcut, a one-click action, normally expected from toolbars. Think of it not as an option change but as "Recompare with a different option".