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]: Long server name sometimes forces Online Players window to be very wide #9697

Closed
LC-Zorg opened this issue Nov 14, 2021 · 2 comments · Fixed by #11936
Closed

[Bug]: Long server name sometimes forces Online Players window to be very wide #9697

LC-Zorg opened this issue Nov 14, 2021 · 2 comments · Fixed by #11936
Labels
bug Something isn't working component: interface This is an interface issue

Comments

@LC-Zorg
Copy link

LC-Zorg commented Nov 14, 2021

Version of OpenTTD

12.0 / 12.1 Win10

Expected result

You can significantly reduce the width of the window. Saving window size works.

Actual result

The width of the window varies almost each time the game is started and gives the impression of being random. Very often this width is senselessly large and cannot be reduced. Sometimes changing the language unlocks the possibility of reducing the width. Saving the window size doesn't work.

The minimum width of the window after entering the server
Senselessly big window

The minimum width of the window after closing the game and re-entering the server
Narrower window after changing the language

This method doesn't always work.

Steps to reproduce

The situation is repetitive, but I don't see the key. The problem seems to arise after trying to save the window size.

@James103
Copy link
Contributor

This may be caused by the length of the server name being a limiting factor in the width of the online players window. Some servers put extra info in the server name, which inflates the length of said server name.

To confirm this, will you please try the following?

  1. Start and/or join a server with a very long name.
  2. Attempt to reproduce the bug to show that the long name increases the minimum width of the window.
  3. Start and/or join a server with a very short name.
  4. Attempt to reproduce the bug to show that the short name is not as much of a factor in determining the minimum width of the window.

@LC-Zorg
Copy link
Author

LC-Zorg commented Nov 14, 2021

As you can see above, these two screenshots are from the same server, which actually has a long name. And as you can see, this doesn't the reason to prevent the window from reducing the width.

@LordAro LordAro changed the title [Bug]: Nonsensically wide Online Players window that cannot be reduced [Bug]: Long server name sometimes forces Online Players window to be very wide Nov 15, 2021
@LordAro LordAro added component: interface This is an interface issue bug Something isn't working labels Aug 29, 2022
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants