View Issue Details

IDProjectCategoryView StatusLast Update
0001870Spring engineGeneralpublic2012-11-25 03:16
ReporterSirMaverick Assigned Toabma  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Product Version0.81.2 
Summary0001870: inputtextgeo isn't saved when called from widget:Shutdown()
DescriptionWhen 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.
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

SirMaverick

2010-03-19 00:46

reporter   ~0004767

"/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

2010-03-24 16:00

reporter   ~0004788

JK told me to workaround with Spring.SetConfigString

abma

2012-11-25 03:16

administrator   ~0009379

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

Issue History

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