Page 1 of 2
New /fresh switch
Posted: 27 May 2013 13:56
by Marco
First of all:
brilliant idea!
Secondly, two things I noticed.
1. The fresh instance starts localized? Is it intended? I thought it would have started in default English... ok, just a matter of expectations.
2. You say
Code: Select all
- "Save Settings on Exit" will be internally disabled to prevent
you from accidentally overwriting your real settings.
yet it seems enabled? (I'm overlooking the "internally" in the sense that on screen seems working but under the hood it won't do a thing?)
Re: New /fresh switch
Posted: 27 May 2013 14:14
by admin
It is
internally disabled. This means you cannot see it.

But now thanks to your complaint I will do it differently and change the setting itself.
Localized: Hm, I did not even think about that. Yes, probably it's better to start in English.
Re: New /fresh switch
Posted: 27 May 2013 15:26
by Marco
Awesome x2

Re: New /fresh switch
Posted: 27 May 2013 20:44
by Marco
The "save on settings" is not disabled. I did an experiment by enabling it and then I lost all my config
Luckily for me the saturday backup is here to save my a** and I lost only three tags...
Re: New /fresh switch
Posted: 27 May 2013 20:49
by admin
Marco wrote:The "save on settings" is not disabled. I did an experiment by enabling it and then I lost all my config
Luckily for me the saturday backup is here to save my a** and I lost only three tags...
Ahem, I changed this because of
your post!

In the v12.40.0212 version this would not have happened.
And: good tag.dat should be in the autobackup folder.
Re: New /fresh switch
Posted: 27 May 2013 20:54
by admin
I will change it back so this cannot happen anymore! Don't want to get sued.
Re: New /fresh switch
Posted: 27 May 2013 20:55
by Marco
Oh, my fault then, I wasn't clear enough.
I think that "save settings on exit" (and more in general any form of saving settings) should be disabled in fresh mode, as you first did. But maybe there should also be a visual feedback, like a greyed option in the Configuration window and a greyed option in the File menu.
Re: New /fresh switch
Posted: 27 May 2013 20:56
by Marco
admin wrote:I will change it back so this cannot happen anymore! Don't want to get sued.
Ah lol don't worry! Emptied trash bin tho, let's see if recuva could do it's magic (already restored the three missing tags btw)
Re: New /fresh switch
Posted: 27 May 2013 21:02
by admin
Marco wrote:Oh, my fault then, I wasn't clear enough.
I think that "save settings on exit" (and more in general any form of saving settings) should be disabled in fresh mode, as you first did. But maybe there should also be a visual feedback, like a greyed option in the Configuration window and a greyed option in the File menu.
The file menu will now show "Exit (without Saving)" -- always -- and act like this. So the option is dysfunctional in FRESH mode.
Re: New /fresh switch
Posted: 28 May 2013 15:36
by Marco
Awesome, now making mistakes should be more difficult
Just a suggestion for the help file or the presentation page:
The same kind of attention should be paid when running an instance via the /fresh switch as when running multiple "normal" instances. Albeit "Save settings on exit" is disabled and greyed out, user may still overwrite his/her real configuration by saving fresh settings manually via File | Save Settings and File | Settings Special | ... . Use at your own risk!
Re: New /fresh switch
Posted: 28 May 2013 15:58
by Borut
[...] user may still overwrite his/her real configuration by saving fresh settings manually via File | Save Settings and File | Settings Special | [...]
Would it not be better to block these also with /FRESH? I do have at least two backups not older than 12 hours at all times, but still would use the old way fresh install for testing, rather than the new /fresh because of these last possibilities. Well, OK, I admit, it is a matter of psychology...
Re: New /fresh switch
Posted: 28 May 2013 17:39
by eil
i like this thing so, that i'd add a line in Menu-Help

Re: New /fresh switch
Posted: 28 May 2013 17:48
by Marco
Borut, you're right.
But I suspect the utility of /fresh, ie. debugging from a clean version, could come in handy in case of bugs of the saving settings part too. I guess my first idea of disabling that option in Configuration may be too invasive and influent for debugging purposes.
So another idea might be that /fresh is just a shorthand for running
Code: Select all
XYplorer.exe /ini=FRESH_<hash of exact current time and date to avoid collisions>/XYplorer.ini
Currently XYplorer called as such would run effectively as fresh without any functional modification, because it doesn't find any ini. (actually there would still be the little glitch that makes it start localized)
You should then just make it so that upon closing the FRESH_... path is deleted. Closing, but not restarting, so that saving settings "circuits" can be tested if necessary.
Re: New /fresh switch
Posted: 28 May 2013 20:37
by admin
Hey, I just added something similar...
Re: New /fresh switch
Posted: 28 May 2013 21:23
by admin
eil wrote:i like this thing so, that i'd add a line in Menu-Help

Really? Hmmm... maybe...

.. i'll keep it in the back-of-my-

-mind