Hi,
as many users, I often install / uninstall mods and that is several times that I notice that some gui can remain after a mod uninstall.
example in attached map (open it with no mods).
I know how to delete this gui by console command, or I can delete it by installing/unsintalling the mod again, but I wanted to tell you about this little "bug" that I don't know precisely how to reproduce...
As there is no way for a mod to "uninstall itself", I supposed that it is factorio that checks if a gui must be deleted or not ? What is the basic of this test ? Is the gui top parent linked to the mod's name/version ? Then how can a gui remains if no mod is present at all ?
Gui still here after mod is disabled
Gui still here after mod is disabled
My mods on the Factorio Mod Portal 

Re: Gui still here after mod is disabled
The GUI elements on the top left where added with the console manually - not by a mod - so there's no mod that when removed would remove them.
If you want to get ahold of me I'm almost always on Discord.
Re: Gui still here after mod is disabled
No Rseding, I can confirm you that this gui elements were added by a mod that I wrote (timetools), on which I make a lot on tests, install / unsintall with other mods. It is strange because originally there was some styles linked to this bar that looked different, but when uninstalling the mod, the bar remains with no styles anymore thus with a slightly different look. viewtopic.php?f=92&t=22822Rseding91 wrote:The GUI elements on the top left where added with the console manually - not by a mod - so there's no mod that when removed would remove them.
My mods on the Factorio Mod Portal 

Re: Gui still here after mod is disabled
The save file says the GUI elements are owned by "custom" which only comes from the console.binbinhfr wrote:No Rseding, I can confirm you that this gui elements were added by a mod that I wrote (timetools), on which I make a lot on tests, install / unsintall with other mods. It is strange because originally there was some styles linked to this bar that looked different, but when uninstalling the mod, the bar remains with no styles anymore thus with a slightly different look. viewtopic.php?f=92&t=22822Rseding91 wrote:The GUI elements on the top left where added with the console manually - not by a mod - so there's no mod that when removed would remove them.
If you want to get ahold of me I'm almost always on Discord.
Re: Gui still here after mod is disabled
Ha ha, that's why I posted it in the bug section... I swear I did not create it from console at all. Such a big bar, can you imagine ? Infact , I never create a gui from console. And this map in a solo one, nobody else than me played on it.Rseding91 wrote:The save file says the GUI elements are owned by "custom" which only comes from the console.
But I admit it will be hard to find the origin of this bug...

PS : idea: the only alternative solution is that I created it from the console, but by calling the interface of my mod (remote.call). But then this gui should still belong to my mod, no ? Maybe the bug is coming from here : look at a gui created/updated from a remote.call .
My mods on the Factorio Mod Portal 
