Author Topic: Fixed choice of common resolutions in the options menu  (Read 719 times)

0 Members and 1 Guest are viewing this topic.

Offline Forestidia86

  • Posts: 731
  • inactive
    • View Profile
Fixed choice of common resolutions in the options menu
« on: January 29, 2024, 04:16:55 PM »
It might be more convenient to have a fixed choice of common resolutions for hardware fullscreen and windowed instead of having to type it oneself.
I would suggest: 640x480, 800x600, 1024x768, 1280x720, 1280x1024, 1600x900, 1680x1050, 1920x1080 (and maybe 1366x768)

1366x768 is a common resolution for old non-hd laptops. Windowed is fine for me but it doesn't work in hardware fullscreen (defaults to 640x480 window). My standard resolution is 1920x1080.

The option to put in custom values could be left to editing the options.sdl.

Maybe add a confirmation window for changing the resolution, that you have to confirm within x secs or it resets to the previous value and add an information when it defaults to 640x480 window for nonviable resolutions.

Offline Simon

  • Administrator
  • Posts: 3954
    • View Profile
    • Lix
Re: Fixed choice of common resolutions in the options menu
« Reply #1 on: January 30, 2024, 10:54:29 PM »
This is two separate ideas: Restrict to predefined resolutions, and confirm a resolution change.

The resolution change confirmation is interesting. We can mistype the resolution, mispick from predefined resolutions, misremember our monitor resolution, ..., and such confirmation will catch it all. The classic Windows confirmation dialog accepts both mouse and keyboard input, and defaults after 10-15 seconds to rejection of the new resolution. It's nice, but it's hard to say how urgent this is. The gut feeling is that it's not urgent even though Silken would have needed it. On the other hand, if it prevents permanent lock-out, hmm.

I'm not so hot about guessing predefined resolutions and offering only those. If you catch bad resolutions with the confirmation dialog, why introduce another limit? It would also go contrary to dragging borders (left to be researched).

If you want it purely for convenience, we can add a fixed list next to the unconstrained number entry field. This has its own merits. We'd merely invest a lot of menu space and development into an option that you rarely change.

-- Simon
« Last Edit: January 30, 2024, 11:00:46 PM by Simon »