View Issue Details

IDProjectCategoryView StatusLast Update
0006049Multi Theft Auto : San AndreasClientpublic2011-06-19 15:02
ReporterarranTuna Assigned Tolil_Toady  
Status resolvedResolutionfixed 
Target Version1.1Fixed in Version1.1 
Summary0006049: GUI tab panel tabs won't get added if GUI not visible

I have noticed that an existing script (which works fine in 1.0.5) no longer works because the tab panel tabs aren't being added. After some trial and error I have found that they won't get added when the GUI window visibility is set to false.

I consider this a major problem as a lot of scripts which use tabs may get broken by this. Use the code below to reproduce the bug. Add a comment on line 3 and remove the comment line 6 to notice that it now works as should.

Steps To Reproduce

local rx, ry = guiGetScreenSize()
chatwin = guiCreateWindow((rx/2)-320,(ry/2)-232,641,464,"AAAA",false)
guiSetVisible(chatwin, false)
tabpanel = guiCreateTabPanel(9,23,622,430,false,chatwin)
guiCreateTab("aaa", tabpanel)
--guiSetVisible(chatwin, false)
guiSetVisible(chatwin, true)

TagsNo tags attached.



2011-04-27 02:16

administrator   ~~0013253

Yeah, this one is known


2011-06-19 15:02

updater   ~~0013724

Issue automatically marked as fixed by mantisbot ( Fixed in )

Issue History

Date Modified Username Field Change