XWidgetSoft Forum
https://bbs.xwidget.com/

BUG? - Save as Default Config & Load Default Config
https://bbs.xwidget.com/viewtopic.php?f=3&t=5182
Page 1 of 1

Author:  meme [ October 28th, 2014, 12:19 am ]
Post subject:  BUG? - Save as Default Config & Load Default Config

The right click - window - option "Save as Default Config" does work, it writes the settings to the config.ini file OK.
I assume the default config file is not automatically loaded at startup by design, because it does not load at startup.

If so, the bug is the right click - window - option "Load Default Config" does not reload the settings.
If it did, an option to reload at startup would be necessary or it could be done in script, but a user option would be more suitable for the user.

This problem was identified in the topic - BUG: Magnetic Borders - Enabled Regardless of Setting-CLOSED http://bbs.xwidget.com/viewtopic.php?f=3&t=5160

Author:  hamid [ October 28th, 2014, 5:58 am ]
Post subject:  Re: BUG? - Save as Default Config & Load Default Config

to make it more clear:
1. "Load Default Config" menuitem doesn't work (RightClick > window > option > "Load Default Config")
2. "LoadDefIni()" command doesn't work
3. if you use them, in Debug mode through Designer, you will see in the ini section of log View that the options have changed, but none of the options changed in the widget's functionality and menuitem's state

to be more clear:
after using these commands, the config in ini section of log view has changed state and even "Debug_Theme.ini" has changed but the functionality of widget and menuitems doesn't changed,
this means the ini is not showing real state of widget




Quote:
The right click - window - option "Save as Default Config" does work, it writes the settings to the config.ini file OK.

the "Save as Default Config" is working correctly,
the problem is the "Load Default Config"



Quote:
I assume the default config file is not automatically loaded at startup by design, because it does not load at startup.

i think it shouldn't be loaded at startup, maybe it should be loaded at first run,
although this can be done through script, but maybe an option in gui to choose to "load it at first run" or not can be helpful for others

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/