Page 1 of 1

[14.22] Clearing some text filed is REALLY slow

Posted: Tue Feb 21, 2017 11:56 am
by aaargha
Noticed this when using blueprint sting but it seems to be a problem with most text fields in the game. Some text fields take up to a minute to clear really long strings, during which the game is frozen.

How to reproduce:
Paste the string from here into a text field.
Select all of it with ctrl-a.
Press backspace to remove it.
Enjoy the wait.

Fields I've tested that are problematic: search filed in inventory, height/width/seed on map gen, text filed in blueprint string mod, username prompt for multiplayer, naming a savegame.

Fields that are fine: exchange string on map gen

Using right click to clear the search field does not trigger this.

Re: [14.22] Clearing some text filed is REALLY slow

Posted: Tue Feb 21, 2017 2:19 pm
by posila
Thanks for the report.
I am surprised how inefficient algorithm this operation used. Fixed for 0.15