Diff tool settings

Having trouble installing Oxygen? Got a bug to report? Post it all here.
BudReiniger
Posts: 9
Joined: Fri Jun 16, 2006 11:34 am

Diff tool settings

Post by BudReiniger »

Hi!

I've got two issues concerning the (otherwise brilliant) XML Diff Tool:

[1] In the settings dialog one can choose from several different algorithms for diffing. When switching from "XML fast" to "XML Accurate" I would expect to see some of the options actually changing. What instead happens is that all checkboxes keep their values. If I change one of the values and apply that change, this happens for all the algorithms. To be sure, I tried with an older version of oxygen (6.0) and spotted the very same behavior.

[2] In oxygen I have set the language to english. When I launch the XML Diff tool from inside there, all the GUI elements are in english. This is not true when launching the standalone version where I get german messages.

Thanks for helping
Patrick
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Diff tool settings

Post by sorin_ristache »

Hello,
BudReiniger wrote:When switching from "XML fast" to "XML Accurate" I would expect to see some of the options actually changing.
The algorithm option is independent of the other diff options. Changing the algorithm does not change other options. What options do you expect to change ?
BudReiniger wrote:When I launch the XML Diff tool from inside there, all the GUI elements are in english. This is not true when launching the standalone version where I get german messages.
The options of one launcher do not apply to the other launchers. If you want to use the same options as with the Oxygen XML Editor launcher you have to export them from Options -> Export Options and import them in the standalone diff tool using Options -> Import Options.

Regards,
Sorin
BudReiniger
Posts: 9
Joined: Fri Jun 16, 2006 11:34 am

Post by BudReiniger »

Hi Sorin,

maybe I misinterpreted the whole dialog ...


What I expected it to do was: If for example I choose XML Fast that some checkboxes are checked. If I switch to XML Accurate some other checkboxes should be checked. So I thought that Fast and Accurate were only kind of presets for the XML Diff options. I now understand that the XML diff option apply to both methods.Thanks for clearing that!
Export Options and import them in the standalone diff tool using Options -> Import Options.
Well, I tried that and exported my settings from oxygen -- and failed when trying to find Options -> Import Option in the diff tool ...

Cheers
Patrick
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

The algorithm option specifies only the way of computing the differences. The other diff options apply to the diffing process independent of the selected algorithm. For example XML Accurate is more precise than XML Fast but it is slower and takes more memory so it should be used only with small files (less than 500 KB). You can find a short description of the differences in the User Manual. Also in the presentation of the diff options in the User Manual the algorithms and the other options have separate descriptions, so I think it is clear that an algorithm does not equal a set of values of the other diff options.
BudReiniger wrote:Well, I tried that and exported my settings from oxygen -- and failed when trying to find Options -> Import Option in the diff tool ...
I am sorry, Import Option is available only in the main editor. The set of options are separate so you have to select the language in every application.

Regards,
Sorin
BudReiniger
Posts: 9
Joined: Fri Jun 16, 2006 11:34 am

Post by BudReiniger »

Hi!
you have to select the language in every application.
which I would like to, but how? The standalone diff application lacks a way to do so. Its not a big problem though, as I am German anyway -- I just prefer having software in english ... Nevermind and thanks!
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Press the Diff Options button, in the Preferences dialog type "language" in the search text field, press the Search button, in the results list select Global, change the language in the Language combo box, press the OK button of the Preferences dialog, restart the Diff application.

Regards,
Sorin
BudReiniger
Posts: 9
Joined: Fri Jun 16, 2006 11:34 am

Post by BudReiniger »

Sorin, just before you think I am a complete moron: When accessing the options dialog of the standalone diff tool I get to see this:

Image

Is this intentional? How could one know how to set the language here? But: As soon as you enter any character in the search field, all options become visible.

Puzzled
Patrick
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

BudReiniger wrote:just before you think I am a complete moron
Sorry, that is not what I mean ... I just provided a way to access the language setting. In fact after my previous post I filed a request on our internal bugzilla to make the search filter more obvious, for example by adding a label "filtered" when the list of option panes is filtered in the Preferences dialog, as in your case.

Regards,
Sorin
BudReiniger
Posts: 9
Joined: Fri Jun 16, 2006 11:34 am

Post by BudReiniger »

all right then :-)

Regards
Patrick
Post Reply