+1So changing favorites data automatically saves all other configs. This is a case for concern even for those who don't have automato-phobia.
Please consider updating the favorites section separately and adding another immediate save option for the rest of <xyini>
Immediate Save To Disk
Re: Immediate Save To Disk
One of my scripts helped you out? Please donate via Paypal
-
- Site Admin
- Posts: 60612
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Immediate Save To Disk
1) updating the favorites section separately: The only way to do this would be to have a separate file for Favs (which BTW also include Highlighted Folders and Boxded Branches -- should have mentioned that in the change log, did that now), something like "Favs.ini". Might make sense. But (slightly) slows down startup and shutdown.SammaySarkar wrote:So changing favorites data automatically saves all other configs. This is a case for concern even for those who don't have automato-phobia.Code: Select all
- The "Favorites" option includes Favorite Folders and Favorite Files. And since there is no separate disk file for Favorites but they are kept in XYplorer.ini, XYplorer.ini will be written on changing a favorite.
Please consider updating the favorites section separately and adding another immediate save option for the rest of <xyini>.
2) another immediate save option for the rest of <xyini>: That's even harder. Since XY remembers almost everything, that would mean for me: Countless code points where I would have to call the save routine; and for you: Countless save operations. I think that would be just too much for everybody.
FAQ | XY News RSS | XY Twitter
Re: Immediate Save To Disk
Well, that's a pickle.
Some sort of warning or alert could be presented near the Favorites checkbox then.
At this point, you may as well separate all sections into separate inis.admin wrote:(which BTW also include Highlighted Folders and Boxded Branches -- should have mentioned that in the change log, did that now)
Some sort of warning or alert could be presented near the Favorites checkbox then.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
- Site Admin
- Posts: 60612
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Immediate Save To Disk
Or like this:
1) Extend the "Favorites" category to include "Favorites, Custom File Icons, and Custom File Associations" AND have all this in separate file "Favs.ini" (I think this kind of makes sense conceptually). These are all actively made settings (not just MRU lists) AND they are not done in "Configuration" (F9).
2) Add a category "Configuration" which will trigger an immediate save after you OK "Configuration" (F9).
1) Extend the "Favorites" category to include "Favorites, Custom File Icons, and Custom File Associations" AND have all this in separate file "Favs.ini" (I think this kind of makes sense conceptually). These are all actively made settings (not just MRU lists) AND they are not done in "Configuration" (F9).
2) Add a category "Configuration" which will trigger an immediate save after you OK "Configuration" (F9).
FAQ | XY News RSS | XY Twitter
Re: Immediate Save To Disk
That's very acceptable.
Maybe even separate MRU into MRU.ini while you're at it.
edit. okay. favs, CFI, CFA are auto-saved. Configs are autosaved with OK on config window. Then what about the lists at List Management. OK click there should definitely save too.
Maybe even separate MRU into MRU.ini while you're at it.
edit. okay. favs, CFI, CFA are auto-saved. Configs are autosaved with OK on config window. Then what about the lists at List Management. OK click there should definitely save too.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
- Site Admin
- Posts: 60612
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Immediate Save To Disk
Yes, probably a good idea.SammaySarkar wrote:Maybe even separate MRU into MRU.ini while you're at it.
Puuh, you are basically right but it's difficult again. These are many different types of data that belong to different config files on disk. I would rather not touch that. To me List Management is a back door entrance to various settings for advanced users -- it's okay when it does not get the all-around-pampered autosave treatment.SammaySarkar wrote:Then what about the lists at List Management. OK click there should definitely save too.
FAQ | XY News RSS | XY Twitter
Re: Immediate Save To Disk
Sorry, but I think these are equally important.admin wrote:it's okay when it does not get the all-around-pampered autosave treatment.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
- Site Admin
- Posts: 60612
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Immediate Save To Disk
I did not say they are not important. I just say: When you are patching MRU lists thru the back door don't expect to get your mouth wiped afterwards by mother XY.SammaySarkar wrote:Sorry, but I think these are equally important.admin wrote:it's okay when it does not get the all-around-pampered autosave treatment.
FAQ | XY News RSS | XY Twitter
Re: Immediate Save To Disk
Surely at least highlighted and boxed branches and aliases are not MRUs? (By list mgmt, I was thinking of these specifically.)
Other recent ... lists are not extremely important, I agree with you.
Other recent ... lists are not extremely important, I agree with you.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: Immediate Save To Disk
Sorry but really, do users play with their Favorites that often that it in the end, it justifies going to a separate ini file and slowing down Xyplorer even a couple milliseconds. I'd say no. Reverse
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
Re: Immediate Save To Disk
Sorry Ken, but I like the idea of favorites being separated. My XY configuration practically never changes but
favorites do...
favorites do...
One of my scripts helped you out? Please donate via Paypal
Re: Immediate Save To Disk
I don't disagree with having separate ini files in itself, but as Don said, it will translate in to slower start times. That's the only thing that bothers me. I think users like XY in general because Don has put the time and energy into to keeping it fast even with the myriad of updates. Many years ago I moved away from other File Managers because they were dog slow. So I tend to be against anything that will slow it down even a millisecond...just my opinion.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
Re: Immediate Save To Disk
I understand but from a developers point of view: You'll never notice the difference.
You know that I'm currently porting xy_CEA and I test every procedure for it's execution
time and trust me, as an enduser you'll never notice if the startup time is 473ms or 478ms.
And ini file handling (opening, reading, processing) is in the range of 1 - 5 ms (depending
on size and transformations to do (e.g. resolving environment variables in strings).
So even if XY uses 10 ini files instead of one, you're only adding 10-50 ms to the startup
time. Again, you'll never notice the difference...
You know that I'm currently porting xy_CEA and I test every procedure for it's execution
time and trust me, as an enduser you'll never notice if the startup time is 473ms or 478ms.
And ini file handling (opening, reading, processing) is in the range of 1 - 5 ms (depending
on size and transformations to do (e.g. resolving environment variables in strings).
So even if XY uses 10 ini files instead of one, you're only adding 10-50 ms to the startup
time. Again, you'll never notice the difference...
One of my scripts helped you out? Please donate via Paypal
Re: Immediate Save To Disk
I understand and I realize I'm not going to notice 50 milliseconds, but I do notice a changes in the hundreds. I certainly notice going from my new ultrabook with less than 400 to my desktop of more than 700 start times. Speed should be one of the developer's top concerns and I know it is with Don. So I mention this only because I worry about the cumulative affect of multiple changes that affect start and execution times. You really change your Favorites that often that this would be a concern?
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440