[Pard][2.0.28] Inconsistent display of rich text icons in tooltips

This subforum contains all the issues which we already resolved.
User avatar
IsaacOscar
Filter Inserter
Filter Inserter
Posts: 843
Joined: Sat Nov 09, 2024 2:36 pm
Contact:

[Pard][2.0.28] Inconsistent display of rich text icons in tooltips

Post by IsaacOscar »

I noticed a strange inconsistency when making my mod https://mods.factorio.com/mod/allowed-modules which adds icons of modules in the 'localised_description' field (e.g. with [item=productivity-module]). For example:
12-29-2024, 00-52-13.png
12-29-2024, 00-52-13.png (1.28 MiB) Viewed 619 times
Note how on the top right it shows "Allows <icon> [Item: Productivity module] modules", whereas in the tooltip it doesn't show the "[Item: Productivity module]" bit.

However, when such icons are added to an item tooltip (and not a recipe) it does show the [Item: ...]" bit:
12-29-2024, 00-54-26.png
12-29-2024, 00-54-26.png (657.33 KiB) Viewed 619 times
Personally, I'd prefer it if it didn't show the "[Item: ...]" bit, or at least there was a way to opt-out of it as it takes up quite a bit of space (of course you can just use [ img=item.productivity-module] instead of [item=productivity-module], but the former won't have a tooltip and won't let you alt-click it).
Pard
Factorio Staff
Factorio Staff
Posts: 80
Joined: Mon Aug 28, 2023 6:21 pm
Contact:

Re: [Pard][2.0.28] Inconsistent display of rich text icons in tooltips

Post by Pard »

Hello, thank you for your feedback. This issue will be resolved in the next release.
Post Reply

Return to “Resolved Problems and Bugs”