[2.0.15] Setting too big UI scale renders game unusable

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
mkdr
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Mar 17, 2019 9:43 pm
Contact:

[2.0.15] Setting too big UI scale renders game unusable

Post by mkdr »

This is more of a general issue. If you select a too big UI scale, for example 200% on 1080p, the UI is too big and you cant set back to 100% UI scale anymore from inside the game and need to edit the config file manually.

There would be an easy way to fix this and make the game better:

- add Enter key in the menu which saves the changes of the UI and applies them
- add a 3rd save/apply button to the menu if you go back, game says there are changes, but an apply button is missing
User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 3234
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: [2.0.15] Setting too big UI scale renders game unusable

Post by BlueTemplar »

Because of 'Confirm' being hidden ?

Well, it shouldn't be, that's a bug, if unfortunately a common one across software.
Similar issues were fixed recently :
118826
120670

I noticed that the usual solution to this doesn't work :
You would use the Tab key until it cycled to the Confirm button (off-screen, would need to guess a bit) and pressed Enter (maybe E this being Factorio ? but Enter should definitely work too).
But in Factorio, Tab only seems to cycle between input fields, and not even checkboxes / sliders / buttons...
BobDiggity (mod-scenario-pack)
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5300
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [2.0.15] Setting too big UI scale renders game unusable

Post by Klonan »

Hi,

Thank you for the report

I can seem to access the interface settings just fine at 200% scale

Can you share a screenshot of your specific issue?
11-17-2024, 10-30-31.png
11-17-2024, 10-30-31.png (936.32 KiB) Viewed 417 times
User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 3234
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: [2.0.15] Setting too big UI scale renders game unusable

Post by BlueTemplar »

Yeah, I can't seem to reproduce the issue on 1920x1080 either, are you certain that you're actually on 1080 lines ?
Are you fullscreen or windowed, with the bar taking some lines ?
BobDiggity (mod-scenario-pack)
mkdr
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Mar 17, 2019 9:43 pm
Contact:

Re: [2.0.15] Setting too big UI scale renders game unusable

Post by mkdr »

Hello,
11-20-2024, 05-56-42.png
11-20-2024, 05-56-42.png (444.67 KiB) Viewed 269 times
for me it looks like this with 200% on 1920x1080, this is the entire view of the screen, part of the GUI is cut off, including the "Confirm" button:
11-20-2024, 05-40-19.png
11-20-2024, 05-40-19.png (592.51 KiB) Viewed 284 times

The game is now "bricked", unless you manually open the config file, and edit it to go back to scale of 1.

If you select automatic, which is still visible from inside the game and press the back button, you get this:
11-20-2024, 05-41-35.png
11-20-2024, 05-41-35.png (588.76 KiB) Viewed 284 times
11-20-2024, 05-41-47.png
11-20-2024, 05-41-47.png (606.42 KiB) Viewed 284 times

No way to apply/confirm it. It says "2 changes detected", but just gives option to throw it away, not to apply.

Suggestions:

Introduce a 3rd apply button in this GUI, next to back and throw out. That way you can still go back to 100% scale from inside the game.
11-20-2024, 05-49-30.png
11-20-2024, 05-49-30.png (58.01 KiB) Viewed 274 times

Or introduce the key hook of pressing ENTER in the settings menu, whcih then hits the button on the right bottom, which is not visible anymore.

Or move the Confirm button to the left
11-20-2024, 05-51-18.png
11-20-2024, 05-51-18.png (52.6 KiB) Viewed 273 times
User avatar
LCStark
Fast Inserter
Fast Inserter
Posts: 192
Joined: Thu Jan 28, 2021 5:04 pm
Contact:

Re: [2.0.15] Setting too big UI scale renders game unusable

Post by LCStark »

mkdr wrote: Wed Nov 20, 2024 4:43 am The game is now "bricked", unless you manually open the config file, and edit it to go back to scale of 1.
While it's not a bug fix, there is a solution to the problem: you can still use Control + Numpad - / Control + Numpad + to change the GUI scale and fix it.
mkdr wrote: Wed Nov 20, 2024 4:43 am Or introduce the key hook of pressing ENTER in the settings menu, whcih then hits the button on the right bottom, which is not visible anymore.
The E key works as expected - it presses the confirm button without the need to click it or even hover.
rollc_at
Inserter
Inserter
Posts: 34
Joined: Fri Sep 01, 2023 3:11 pm
Contact:

Re: [2.0.15] Setting too big UI scale renders game unusable

Post by rollc_at »

I remember running into this kind of issue for the first time when I was a kid messing with screen resolutions in Windows 95. In my opinion, some or all of these would be good solutions:

- A confirmation dialog with a time-out where the user is forced to actually click a button - if they can't see the button, they can't confirm the new setting;
- A special "GUI debug" locale, constructed by running a script over all translations that finds the longest possible string, then placing a string consisting of all "X"s that is 10-20% longer than that - this helps find extreme edge cases with string wrapping, inability to read the on-screen language/follow instructions, poor accessibility, etc;
- Slight redesign of the dialog, so that the specific components are always visible - even in such extreme configurations (CSS "responsive design");
- Starting the game (booting the OS) in a "safe mode" with a very conservative config (lowest graphics, auto GUI scale, no mods, etc) where user's settings.ini is not applied for the session, but can still be modified using the GUI; this could be triggered e.g. by holding "S" (for Safe Mode) on the loading screen;
- An exhaustive list of problematic and/or safe configurations that the user cannot apply thru the GUI.
Post Reply

Return to “Pending”