-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
@ Client / AudiovisualsBugIssues that were confirmed to be a bugIssues that were confirmed to be a bugFormspec
Description
Minetest version
0.4.16 - 5.1.0
OS / Hardware
Operating system: Windows 10, Linux Mint
Summary/Steps to reproduce
In any password field (like the one for connecting to servers), type a bunch of wide letters (like w) until the characters start to scroll. They will scroll long before you reach the end of the field as it is calculating the widths of the ws and predicts the text to be much longer than it actually is. If you use a character like |, it will scroll later than it should because it predicts it to be shorter.
Solution
Calculate the width of the string in * characters, not normal characters.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@ Client / AudiovisualsBugIssues that were confirmed to be a bugIssues that were confirmed to be a bugFormspec