Bug discovered in moded gameplay, but tested in vanilla freeworld and confirmed that the bug is reproduced.
A train station is named Copper ore
Select a second station, start a rename, and select the original colored station's name
Change the station name to CAopper Ore
Delete the C from the beginning, then highlight "opper Ore" by shift, right arrow to highlight the text, then attempt typing a new name
at this point the game crashes
[1.1.50] Crash renaming trainstation (agui::TextBox::findWordBoundaryInText)
[1.1.50] Crash renaming trainstation (agui::TextBox::findWordBoundaryInText)
- Attachments
-
- Steps to reproduce.gif (5.99 MiB) Viewed 2952 times
-
- JanFeb Bug report.zip
- (18.53 MiB) Downloaded 122 times
-
- Modlist.txt
- (917 Bytes) Downloaded 131 times
-
- factorio-current.log
- (155.96 KiB) Downloaded 135 times
Re: [1.1.50] Crash renaming trainstation (agui::TextBox::findWordBoundaryInText)
One player reported that they were able to change the name but crashed the game pressing right arrow after typing name
Re: [1.1.50] Crash renaming trainstation (agui::TextBox::findWordBoundaryInText)
It seems I actually pressed ctrl+→ then
Looks like using ctrl+shift+→ to highlight the text is important, and it must be pressed one extra time
Re: [1.1.50] Crash renaming trainstation (agui::TextBox::findWordBoundaryInText)
Thanks for the report. Issue should be now fixed for 1.1.51.