View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0001870 | Spring engine | General | public | 2010-03-18 05:43 | 2012-11-25 03:16 | ||||
Reporter | SirMaverick | ||||||||
Assigned To | abma | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | no change required | ||||||
Product Version | 0.81.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001870: inputtextgeo isn't saved when called from widget:Shutdown() | ||||||||
Description | When you set "inputtextgeo ..." ingame it's saved to config. Using this command in widget:Shutdown() has no effect. "inputtextgeo default" is not saved to config. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
SirMaverick (reporter) 2010-03-19 00:46 |
"/quit" -> globalQuit = true -> SpringApp::Shutdown -> ~CGame -> SafeDelete(guiHandler) -> delete LuaUI -> shutdown call-in for widgets -> LuaUnsyncedCtrl::SendCommands -> returns immediately because guihandler == NULL (set in SafeDelete) |
SirMaverick (reporter) 2010-03-24 16:00 |
JK told me to workaround with Spring.SetConfigString |
abma (administrator) 2012-11-25 03:16 |
as a workaround is possible... no change required imo this is also correct behaviour, maybe a callin Widget:PreShutdown() is needed / Widget:Shutdown() should be called earlier |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2010-03-18 05:43 | SirMaverick | New Issue | |
2010-03-19 00:46 | SirMaverick | Note Added: 0004767 | |
2010-03-24 16:00 | SirMaverick | Note Added: 0004788 | |
2012-11-25 03:15 | abma | Summary | inputtextgeo => inputtextgeo isn't saved when called from widget:Shutdown() |
2012-11-25 03:16 | abma | Note Added: 0009379 | |
2012-11-25 03:16 | abma | Status | new => resolved |
2012-11-25 03:16 | abma | Resolution | open => no change required |
2012-11-25 03:16 | abma | Assigned To | => abma |