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

0.5.0-RC5 Resolution doubled in cfg file when fullscreen mode used #642

Closed
DorpsGek opened this issue Feb 21, 2007 · 2 comments
Closed

0.5.0-RC5 Resolution doubled in cfg file when fullscreen mode used #642

DorpsGek opened this issue Feb 21, 2007 · 2 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Mardu opened the ticket and wrote:

I have a resolution of 1280x1024. Whenever I start the game, it starts in windowed mode. Every time I have to change the resolution in-game to 1280x1024, and click the fullscreen button, to make the game go fullscreen. When I exit the game, and start it again, it uses windowed mode again, and window is positioned in the upper left corner of the display, with about a half of it being not visible. Then the resolution has to be changed and fullscreen button pressed again.

When I look in the openttd.cfg file, the resolution is doubled - fullscreen = true; resolution = 2560,2048.
When fullscreen mode is NOT used, it saves the max resolution the window is allowed to have to be visible, that is almost 1280x1024, into the configuration file.
When using resolutions lower than mine
a) if fullscreen is used, saves double resolution again
b) if fullscreen is not used, saves the normal resolution
The problem started when I upgraded to 0.5.0-RC5 from 0.4.8.

It is pretty annoying to change the resolution every time I start the game.

Reported version: trunk
Operating system: Windows


This issue was imported from FlySpray: https://bugs.openttd.org/task/642
@DorpsGek
Copy link
Member Author

Mardu wrote:

Found out what was causing this - double size.
As I have understood, double size should only work in windowed mode, well, it does, but the wrong resolution is saved when in fullscreen mode.


This comment was imported from FlySpray: https://bugs.openttd.org/task/642#comment952

@DorpsGek
Copy link
Member Author

DorpsGek commented Mar 3, 2007

Darkvater closed the ticket.

Reason for closing: Fixed

fixed, thank you for your report.


This comment was imported from FlySpray: https://bugs.openttd.org/task/642

@DorpsGek DorpsGek closed this as completed Mar 3, 2007
@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant