Better/smarter support for display resolutions?

General feedback and discussion of the game.

Moderator: Forum Moderators

Post Reply
User avatar
WWWWolf
Posts: 12
Joined: July 22nd, 2005, 8:26 pm
Location: Oulu, Finland

Better/smarter support for display resolutions?

Post by WWWWolf »

Here's a small exercise: Try starting Wesnoth up for the first time on a 1024x600 netbook. The app starts in windowed mode and, my my, the window is gigantic. The only solution is to go to the preferences, but the preferences button is somewhere quite off the screen. And as it happens, the netbook runs Windows, where one does not merely move windows that are larger than the screen. (Windows thinks "oh my, your titlebar is off the screen! Here, let me move it back to the screen so you can actually perform window operations." Thanks, I guess, but the preferences button is still off the screen!)

Long story short, I think I just edited the Wesnoth config file last time. Not particularly user-friendly. :D

And when setting up the resolution right, I was thinking "by golly, I think I'll end up switching resolutions pretty often - I need widescreen aspect ratio for the LCD, and standard aspect ratio for my monitor. You'll never know which is relevant."

Could this be improved? Would it be possible to just specify my preferred 16:9 and 4:3 resolutions, have Wesnoth sniff out what kind of display you're running on right now, and pick it automatically?
fabi
Inactive Developer
Posts: 1260
Joined: March 21st, 2004, 2:42 pm
Location: Germany

Re: Better/smarter support for display resolutions?

Post by fabi »

It should be not that hard to determine the actual screen size and start Wesnoth in a windowed mode with that maximum resolution or the one from the preferences if it is smaller in both dimensions.
User avatar
Haudegen
Posts: 23
Joined: February 23rd, 2009, 2:36 pm
Contact:

Re: Better/smarter support for display resolutions?

Post by Haudegen »

WWWWolf wrote: And when setting up the resolution right, I was thinking "by golly, I think I'll end up switching resolutions pretty often - I need widescreen aspect ratio for the LCD, and standard aspect ratio for my monitor. You'll never know which is relevant."

Could this be improved? Would it be possible to just specify my preferred 16:9 and 4:3 resolutions, have Wesnoth sniff out what kind of display you're running on right now, and pick it automatically?
You can set the window dimensions using command the command line parameter

Code: Select all

--resolution
and start wesnoth via shell script(s), shell alias(es) or whatever means windows provides.
User avatar
WWWWolf
Posts: 12
Joined: July 22nd, 2005, 8:26 pm
Location: Oulu, Finland

Re: Better/smarter support for display resolutions?

Post by WWWWolf »

Haudegen wrote:You can set the window dimensions using command the command line parameter

Code: Select all

--resolution
and start wesnoth via shell script(s), shell alias(es) or whatever means windows provides.
Thanks, that's a good idea as an interim solution. Slightly clumsy in practice, though, and might be a little bit tricky to pull off when launching the game through Desura, which is why some form of built-in smartness would be much appreciated. :)
User avatar
ivanovic
Lord of Translations
Posts: 1149
Joined: September 28th, 2004, 10:10 pm
Location: Germany

Re: Better/smarter support for display resolutions?

Post by ivanovic »

Things like this are not always this trival. Sadly. Though we really welcome patches to fix behavior like this (and other patches as well). In regards to the resolution selection there might be significant differences in behavior between Linux and Windows and since most devs tend to rely on Linux (and those under Windows know that this OS limits you)...
Post Reply