New /fresh switch

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

: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: We 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.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

New /fresh switch

Post 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?)
Attachments
Clipboard-20130527.png
Clipboard-20130527.png (163.13 KiB) Viewed 2071 times
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 65244
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: New /fresh switch

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

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: New /fresh switch

Post by Marco »

Awesome x2 :cup: :cup:
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: New /fresh switch

Post by Marco »

The "save on settings" is not disabled. I did an experiment by enabling it and then I lost all my config :evil:
Luckily for me the saturday backup is here to save my a** and I lost only three tags...
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 65244
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: New /fresh switch

Post 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 :evil:
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! :P In the v12.40.0212 version this would not have happened.

And: good tag.dat should be in the autobackup folder.

admin
Site Admin
Posts: 65244
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: New /fresh switch

Post by admin »

I will change it back so this cannot happen anymore! Don't want to get sued.

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: New /fresh switch

Post 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.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: New /fresh switch

Post 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)
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 65244
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: New /fresh switch

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

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: New /fresh switch

Post by Marco »

Awesome, now making mistakes should be more difficult :mrgreen:
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!
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Borut
Posts: 1466
Joined: 19 Oct 2010 19:29
Location: Win10 Pro 64b 22H2, @120DPI (125%)

Re: New /fresh switch

Post 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...
Win 10 Pro 64bit

eil
Posts: 1827
Joined: 13 Jan 2011 19:44

Re: New /fresh switch

Post by eil »

i like this thing so, that i'd add a line in Menu-Help :biggrin:
Win 7 SP1 x64 100% 1366x768|1900x1080

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: New /fresh switch

Post 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.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 65244
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: New /fresh switch

Post by admin »

Hey, I just added something similar...

admin
Site Admin
Posts: 65244
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: New /fresh switch

Post by admin »

eil wrote:i like this thing so, that i'd add a line in Menu-Help :biggrin:
Really? Hmmm... maybe... :whistle: :cup: .. i'll keep it in the back-of-my- :ugeek:-mind

Post Reply