View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004649||Multi Theft Auto : San Andreas||Client||public||2009-07-16 10:51||2009-08-16 15:04|
|Target Version||Fixed in Version||1.0|
|Summary||0004649: Assert when using filters while server browser is loading|
Using filters twice when the server browser is still loading servers causes an assertion for each entry that isn't displayed so pressing ignore can take a long time.
This can be reproduced with refresh or when starting the client the first time
By using filters twice I mean clicking the sort button twice
|Tags||No tags attached.|
This is not neccessarily related to doing it twice, I can get it working when clicking one times during loading of the list.
Even in Release mode, you'll see ordering does not work, newly coming servers are always as first row when "sorting".
By the way, it's a "sequence not ordered"-assertion which happens on std::upper_bound, I'd guess in CEGUIMultiColumnList.cpp:834.
This is because, when changing a list item's text, cegui does not re-order it to match the selected sorting column. Therefore, after choosing a sort column, the first item is added and has its text changed leaving it in the wrong position, and then the next item that is added causes the assert.