Save settings problem when working with multiple instances

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
Skeeve

Save settings problem when working with multiple instances

Post 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
To see the attached files, you need to log into the forum.

RalphM
Posts: 2144
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Save settings problem when working with multiple instanc

Post 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.
Ralph :)
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Save settings problem when working with multiple instanc

Post 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. 8)
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

RalphM
Posts: 2144
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Save settings problem when working with multiple instanc

Post by RalphM »

Well, at least the error message told Skeeve that something didn't quite work as expected.
Ralph :)
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

Skeeve

Re: Save settings problem when working with multiple instanc

Post 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. 8)
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.

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Save settings problem when working with multiple instanc

Post 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 :roll:

Skeeve

Re: Save settings problem when working with multiple instanc

Post 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

Post Reply