Page 1 of 1

[0.15.3] Long user/nicknames break some GUIs

Posted: Sat Apr 29, 2017 11:23 am
by blha303
We were conducting some testing on username length, my friend determined that 25% of the Bee Movie script was roughly the maximum length possible in a Factorio username before it crashes, but this has negative effects on GUIs such as the new blueprint dialog, making it impossible to create a new blueprint. The dialog redraws itself after a window resize to at least give access to existing blueprint buttons.

Before:
before
before
20170429192014_1.jpg (303.38 KiB) Viewed 2244 times
After:
after
after
20170429182915_1.jpg (160.74 KiB) Viewed 2244 times

Re: [0.15.3] Long user/nicknames break some GUIs

Posted: Sat Apr 29, 2017 4:59 pm
by Rseding91
I don't consider this worth the time to "fix". Just don't do that :P

Re: [0.15.3] Long user/nicknames break some GUIs

Posted: Sat Apr 29, 2017 9:26 pm
by WhiteFusion
Apparently throwing the Bee Movie at something for stress testing is now going to be a valid procedure and the best way to see how things horribly break.

But regardless, I guess the simple fix is simply truncating usernames in the UI with a leading '...' after so many characters.