Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Text edit boxes do not display text added at the start, if the text is already longer than the box #12357

Open
merni-ns opened this issue Mar 23, 2024 · 0 comments
Labels
bug Something isn't working component: interface This is an interface issue priority: low This issue should be fixed but has either a low impact or is en edge-case

Comments

@merni-ns
Copy link
Contributor

Version of OpenTTD

Nightly 20240323, Windows 11

Expected result

Text edit boxes show the text actually entered.

Actual result

Text edit boxes do not show text inserted at the beginning, if the existing text is already longer than the box.

Steps to reproduce

  1. Open any GUI with a text edit box (such as save game window, train renaming, group creation/renaming, ...)
  2. Enter enough text to exceed the size of the box ("w" is useful for this):
    image
  3. Use the arrow keys to go back to the start and enter some letters at the start. Note that these letters aren't displayed in the edit box.
  4. Save the text and notice that the inserted letters actually get saved:
    image
@2TallTyler 2TallTyler added component: interface This is an interface issue bug Something isn't working priority: low This issue should be fixed but has either a low impact or is en edge-case labels Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component: interface This is an interface issue priority: low This issue should be fixed but has either a low impact or is en edge-case
Projects
None yet
Development

No branches or pull requests

2 participants