[0.18.10] Rich text train station names are not searchable

Bugs that are actually features.
Post Reply
Demosthenex
Fast Inserter
Fast Inserter
Posts: 144
Joined: Mon Mar 14, 2016 3:51 pm
Contact:

[0.18.10] Rich text train station names are not searchable

Post by Demosthenex »

1. Create a train station with a rich text name
2. Place a train, create a schedule to goto the new station
3. Press Control-F to search the station list, the rich text name isn't included in the textual search (ie: searching iron won't show rich text iron plates)

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

Re: [0.18.10] Rich text train station names are not searchable

Post by Rseding91 »

Thanks for the report, however yes they are.
Capture.PNG
Capture.PNG (33.65 KiB) Viewed 1102 times
If you want to get ahold of me I'm almost always on Discord.

Demosthenex
Fast Inserter
Fast Inserter
Posts: 144
Joined: Mon Mar 14, 2016 3:51 pm
Contact:

Re: [0.18.10] Rich text train station names are not searchable

Post by Demosthenex »

Interesting! To be fair, I'm doing Pyanodon's and setup my test for Formaldehyde not a vanilla recipe. I'll go doublecheck.

Demosthenex
Fast Inserter
Fast Inserter
Posts: 144
Joined: Mon Mar 14, 2016 3:51 pm
Contact:

Re: [0.18.10] Rich text train station names are not searchable

Post by Demosthenex »

Ok, further investigation looks interesting. I was able to make and search for names using items and recipes including modded and unmodded. I tried Sulfuric acid recipe, item for iron plates, etc and it worked.

Then I tried Py's Formaldehyde recipe again, and it doesn't find it in search. I did the shift-click method to put the name on the console to copy, and pasted it into a station. Then searching doesn't show it. Maybe it's a modded issue only, but I'm not sure what the difference was.

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

Re: [0.18.10] Rich text train station names are not searchable

Post by Rseding91 »

Probably because the recipe doesn't actually include the name "iron" in it? At no point did you say you typed it manually: [recipe-name=iron-plate]

It only searches that as text. If the recipe is something like: [recipe-name=Fe] searching for "iron" isn't going to match anything in that.
If you want to get ahold of me I'm almost always on Discord.

Demosthenex
Fast Inserter
Fast Inserter
Posts: 144
Joined: Mon Mar 14, 2016 3:51 pm
Contact:

Re: [0.18.10] Rich text train station names are not searchable

Post by Demosthenex »

Got it. My example where it failed (Formaldehyde) was called Methanal internally. Clearly this isn't a problem, thanks for checking.

pyhightech_1.5.4/locale/en/locale.cfg:methanal=Formaldehyde

Post Reply

Return to “Not a bug”