Page 1 of 1
Save settings problem when working with multiple instances
Posted: 20 Mar 2016 13:40
by Skeeve
Hi guys,
when I open multiple instances of XY and click "Close all windows" in the windows task bar, I get the following error:
Save settings failed:
SaveError.png
Even worse, I get one message for each opened instance.
Another problem related to this: I lose settings depending on the order I close the instances.
Example:
1.) Open instance 1
2.) Open instance 2
3.) Change a setting in instance 1
4.) Close instance 1
5.) Close instance 2
Now the changed setting has been overwritten.
I already thought about disabling the autosave of settings on exit, but then I loose all my recent list updates.
All help is much appreciated.
Kind regards,
Skeeve
Re: Save settings problem when working with multiple instanc
Posted: 20 Mar 2016 13:49
by RalphM
You're probably the only one opening multiple instances of XY rather than using the multi-tab and dual pane setup of XY.
Last instance closed wins the battle of the preserved options and settings changes.
With your setup you might have to forget about auto-save and rely on manually saved settings instead - and yes, just the settings of that one instance.
Re: Save settings problem when working with multiple instanc
Posted: 20 Mar 2016 13:52
by bdeshi
RalphM wrote:You're probably the only one opening multiple instances of XY
Rather probably the only one so far
closing multiple instances of XY
at once.

Re: Save settings problem when working with multiple instanc
Posted: 20 Mar 2016 13:59
by RalphM
Well, at least the error message told Skeeve that something didn't quite work as expected.
Re: Save settings problem when working with multiple instanc
Posted: 20 Mar 2016 14:06
by Skeeve
SammaySarkar wrote:RalphM wrote:You're probably the only one opening multiple instances of XY
Rather probably the only one so far
closing multiple instances of XY
at once.

Same problem happens when you shut down the computer while multiple instances are open by the way. I'm wondering if I'm the only one with this problem, because XY officially supports MI in the settings. By the way I'm using tabs too, just prefer to work with mutiple physical windows too for several reasons.
Re: Save settings problem when working with multiple instanc
Posted: 20 Mar 2016 15:06
by PeterH
It seems to me you should start each XY with it's private AppData directory. That at least would help for your reported problem.
But that means: configuration of your XY instances wouldn't be shared. Though to say: even now they are
not dynamically shared: each instance reads it's environment in the moment it is started, and writes it in the moment it's stopped or you manually Save Settings. The last saved overwrites all previous saved parameters.
OK: you also can run
without Save Settings on Exit - then you manually save settings only when you want to change some values...
You can decide

Re: Save settings problem when working with multiple instanc
Posted: 20 Mar 2016 16:52
by Skeeve
Hi Peter,
Many thanks for your help.
I think disabling save on exit is really the best recommendation for the current revision. To be honest, I wouldn't complain about manual save, it can be even an advantage in case you just want to modify settings for the *current* session.
The huge downside with this is, that you loose history, tracking, filters and so on. That's the main problem I'm not happy with.
Thanks anyway