[Rseding91] [0.14.3] Incompatible mod GUI leftover

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
Mooncat
Smart Inserter
Smart Inserter
Posts: 1190
Joined: Wed May 18, 2016 4:55 pm
Contact:

[Rseding91] [0.14.3] Incompatible mod GUI leftover

Post by Mooncat »

Bug:
When a mod is disabled or removed from mod directory, its GUI can be removed correctly.
However, when a mod becomes incompatible with Factorio, e.g. game is upgraded from 0.13 to 0.14, the GUI created by the mod cannot be automatically removed.

Steps to reproduce:
1) Download the following little mod. It creates a button on gui.top of the player. When the button is clicked, a message is printed.
The mod is compatible with Factorio 0.13.
leftovermodgui_0.0.1.zip
(1.36 KiB) Downloaded 113 times
2) Launch Factorio 0.13 and start a game. The button will be shown like this:
Leftover_button_1.png
Leftover_button_1.png (1.91 MiB) Viewed 2186 times
3) Save the game and quit Factorio.

4) Update Factorio to 0.14 and launch it.

5) [Optional] Check mod list to make sure the mod is incompatible (font color = red)
Leftover_modlist.png
Leftover_modlist.png (1.4 MiB) Viewed 2186 times
6) Load the save in step 3.
Leftover_button_2.png
Leftover_button_2.png (86.61 KiB) Viewed 2186 times
7) Because the mod is not loaded, locale is lost. Also, when you click the button, nothing will be done.
leftover_button_3.png
leftover_button_3.png (1.92 MiB) Viewed 2186 times

PS: I am not sure whether it is a bug or not, since the mod status is still "Enabled". But Rseding told me to submit a bug report, so I am here. :P

Rseding91
Factorio Staff
Factorio Staff
Posts: 13202
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [0.14.3] Incompatible mod GUI leftover

Post by Rseding91 »

Fixed for 0.14.4 :)

Thanks for the nice steps to reproduce the issue.
If you want to get ahold of me I'm almost always on Discord.

User avatar
Mooncat
Smart Inserter
Smart Inserter
Posts: 1190
Joined: Wed May 18, 2016 4:55 pm
Contact:

Re: [Rseding91] [0.14.3] Incompatible mod GUI leftover

Post by Mooncat »

My pleasure. :D
Thanks for fixing it.

Post Reply

Return to “Resolved Problems and Bugs”