[Genhis][2.0.76] elem_tooltip inside simulation appears next to system cursor, and can crash

User avatar
Shemp
Inserter
Inserter
Posts: 38
Joined: Mon Jan 19, 2026 6:51 pm
Contact:

[Genhis][2.0.76] elem_tooltip inside simulation appears next to system cursor, and can crash

Post by Shemp »

I'm using Linux on the Wayland renderer if this matters.

Load the game with this debug mod and load any game world:
zzz-ShempDebug_0.1.0.zip
(2.13 KiB) Downloaded 965 times
Two new Tips & Tricks items are added at the top of the list. In both, the simulation adds a LuaGuiElement to the top-left corner which has an elem_tooltip assigned to it, and the simulation cursor is scripted to hover over it.

In the first one, titled "Odd Tooltip", the tooltip is for the iron-plate item and it appears next to the system cursor, instead of next to the simulation cursor. Clicking on the tooltip will close out of the Tips & Tricks interface.

In the second one, titled "Crash Tooltip", the tooltip is for the recipe of iron-plate. It will appear and repeatedly follow the system cursor, and doing anything to attempt leaving this Tip through the interface will cause a game crash.

Deleting the elem_tooltip from the LuaGuiElement and assigning a standard text tooltip instead will produce the expected behaviour of the tooltip appearing next to the simulation cursor.
Genhis
Factorio Staff
Factorio Staff
Posts: 944
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: [Genhis][2.0.76] elem_tooltip inside simulation appears next to system cursor, and can crash

Post by Genhis »

Thanks for the report, both issues are fixed for 2.1.
Post Reply

Return to “Fixed for 2.1”