Post Reply 
Resetting MinimServer to default properties
17-09-2013, 16:59
Post: #16
RE: Resetting MinimServer to default properties
(17-09-2013 12:16)winxi Wrote:  I would also consider a reset-to-defaults button to be a step towards a more user-fiendly MinimServer. The installation/uninstallation clearly works, but one disadvantage is that then the cache files are usually deleted also and it will take long to startup after a fresh installation.

Maybe this is a misunderstanding, but I don't see why this should require a restructuring of the MinimServer code that applies property defaults at startup. I think that it should be sufficient to implement two such button in MinimWatch. One in the property window and one in the advanced property window. Pressing one of the buttons would do nothing other than setting the corresponding property text boxes to predefined default strings. The user could then cancel/apply these changes as usual.

The property defaulting code isn't as simple as you think it is. There are over 1000 lines of code in the MinimServer startup processing sequence for handling property settings and applying defaults. For some properties, the defaults that are applied depend on the values of other property settings. It would be a significant effort to extract the relevant portions of this code and make them accessible from MinimWatch. Also, there would then be two different variants of the same code that would need to be maintained and kept in sync.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Resetting MinimServer to default properties - simoncn - 17-09-2013 16:59

Forum Jump:


User(s) browsing this thread: 1 Guest(s)