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

Window content is too small to be readable #255

Open
TheCasualObserver opened this issue Sep 1, 2024 · 4 comments
Open

Window content is too small to be readable #255

TheCasualObserver opened this issue Sep 1, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@TheCasualObserver
Copy link

TheCasualObserver commented Sep 1, 2024

  • Tested with YAFC-CE 8.1, 8.0, 7.5 and 7.0
  • Debian Linux 12
  • Xfce 4.18
  • single display attached (1920x1080)
~ dotnet --list-runtimes
Microsoft.AspNetCore.App 8.0.8 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.8 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

When I start YAFC, the window is very small and the text unreadable as shown in the following screenshot

image

The window is not resizable, so I can't make it bigger.
I would expect, that the text in the window is readable.

@TheCasualObserver TheCasualObserver added the bug Something isn't working label Sep 1, 2024
@shpaass
Copy link
Owner

shpaass commented Sep 1, 2024

Does the main screen have the same smol size as the welcome screen?

To reach the main screen, you can

  1. type any project name in the first line,
  2. press the blue part on the second line and select the Factorio data folder,
  3. leave the third line empty to make a vanilla project.
  4. press Enter to start the loading.

@TheCasualObserver
Copy link
Author

Thanks for the instructions.

Clicking on the blue button in the second line opens a new window:
image

After pasting the path of the data folder directory into the field it looks like I can open the main screen:
image

I can resize this Window, but the content still stays small:
image

@DaleStan
Copy link
Collaborator

DaleStan commented Sep 1, 2024

This sounds similar to #239. What DPI does your monitor report?

@TheCasualObserver
Copy link
Author

I have seen that issue, but didn't consider it relevant, because it is related to hidpi.

My display is a projector and xrandr reports

~ xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 2210mm x 1250mm
   1920x1080     60.00*+  59.94    50.00    23.98  
   1400x1050     59.98  
   1280x1024     60.02  
   1280x960      60.00  
   1280x768      59.87  
   1280x720      59.94    50.00  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       59.94    59.93

After detaching the projector and attaching a monitor, the content of the window is displayed correctly.
So I guess this is related to the reported dimensions of 2210mm x 1250mm.

Is there a way for me to configure the dpi manually?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants