Problem about reopening gui files by TGuiBuilder

morning,recently I start using Root 5.34/03 and it’s a powerful software.
But I found something wrong about TGuiBuilder when building the Gui.
I builde the gui with TGuiBuilder and then give every element a meaning name.After that I close and save the gui file as gui.cxx,when I reopen the gui.cxx by TGuiBuilder, the names of the elements are gone and the names of the elements are replaced by something like “fTextButton1121”.
When I reopen the gui.cxx again,the names of the elements changed~Did I do something stupid
If this is a bug,how can I use TGuiBuilder to builder the gui interface.

Hi,

I would suggest to rename your GUI elements only at the very end of editing with the GUI builder…

Cheers, Bertrand.

[quote=“bellenot”]Hi,

I would suggest to rename your GUI elements only at the very end of editing with the GUI builder…

Cheers, Bertrand.[/quote]

thanks for reply,does this mean this is a bug~

[quote=“challie”]thanks for reply,does this mean this is a bug~[/quote]You’re welcome. And this is not really a bug, this it is the way we control the automatic naming (using the WM Ids) of the GUI components. Maybe we could investigate how to improve this, but this is not a high priority task for the time being…