[2.0.76] elem_tooltip with type "signal" only shows if signal_type is "virtual"

This subforum contains all the issues which we already resolved.
User avatar
Shemp
Inserter
Inserter
Posts: 47
Joined: Mon Jan 19, 2026 6:51 pm
Contact:

[2.0.76] elem_tooltip with type "signal" only shows if signal_type is "virtual"

Post by Shemp »

Very minor issue, it may even be intended behaviour, but I didn't find an existing thread so here it is.

To reproduce, open a Factorio world and run these commands:

Code: Select all

/c x = game.player.gui.center.add{type="frame"}
/c x.style.width = 200
/c x.style.height = 200
/c x.elem_tooltip = {type = "signal", name = "uranium-processing", signal_type = "recipe"}
This creates a LuaGuiElement, enlarges it, and assigns an elem_tooltip with type "signal". I expect this to show a tooltip, but it does not.

According to the ElemID documentation, the signal_type field is required.

SignalIDType can be one of eight possible strings, but only "virtual" signal_type with an accompanying virtual signal as "name" will show a tooltip, like so:

Code: Select all

/c x.elem_tooltip = {type = "signal", name = "up-arrow", signal_type = "virtual"}
The same thing happens when you pass the elem_tooltip field to LuaGuiElement::add directly.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16895
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.76] elem_tooltip with type "signal" only shows if signal_type is "virtual"

Post by Rseding91 »

Thanks for the report. This is now fixed for 2.1.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”