View Issue Details

IDProjectCategoryView StatusLast Update
0001918Multi Theft Auto : San AndreasGUI / Menus / Consolepublic2007-06-21 08:00
ReporterjbetaAssigned ToCray 
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformAMD Athlon(tm) 64 X2 ~2.2GHzOSWindows XP Professional x64 SP1OS Version5.2, Build 3790
Product Versionblue_sa.r2.a12 
Target VersionFixed in Version 
Summary0001918: guiGridListAddColumn crashes when columns have been removed
Description

Trying to add a column causes a crash if any columns have been removed from the gridlist before.

Steps To Reproduce

Start guitest, type "remove 3" to remove the fourth column, then "add".

Additional Information

[CEGUI.log, first try]
07/04/2007 18:19:27 (Error) Exception: MultiColumnList::getItemAtGridReference - the row given in the grid reference is out of range.
07/04/2007 18:19:27 (Error) Exception: MultiColumnList::setItem - the specified row index is invalid.

[CEGUI.log, second try]
07/04/2007 18:35:53 (Error) Exception: There is no Property named 'NormalTextColour' available in the set.
07/04/2007 18:35:53 (Error) Exception: ListHeader::getSegmentFromColumn - requested column index is out of range for this ListHeader.

TagsNo tags attached.

Relationships

related to 0001898 resolvedIJs guiGridListRemoveColumn crash 

Activities

IJs

2007-04-14 07:53

administrator   ~~0004352

Could you paste the code you're using?

IJs

2007-04-14 08:37

administrator   ~~0004356

Please re-test.

jbeta

2007-04-15 08:40

updater   ~~0004388

Still happens in 0415. The test code was:

addEventHandler("onClientConsole",getRootElement(),"Command")
function Command(text)
local ctable = split(text,32)
if ctable[1] == "remove" then
if ctable[2] then guiGridListRemoveColumn(eGrid2,tonumber(ctable[2])) end
elseif ctable[1] == "add" then
outputChatBox("adding col: "..tostring(guiGridListAddColumn(eGrid2,"testcol",0.2)))
end

jbeta

2007-05-22 11:10

updater   ~~0004599

Please don't forget this one, adding/removing columns is essential for the scoreboard.

Cray

2007-06-16 18:53

viewer   ~~0004842

Can someone retest this with the latest build, I believe I have fixed it.

IJs

2007-06-21 07:51

administrator   ~~0004860

Input requested.

jbeta

2007-06-21 08:00

updater   ~~0004865

Fixed now.

Issue History

Date Modified Username Field Change