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

[BUG] UI does not scale with high DPI #6749

Open
Dr-Turtle opened this issue Sep 28, 2022 · 0 comments
Open

[BUG] UI does not scale with high DPI #6749

Dr-Turtle opened this issue Sep 28, 2022 · 0 comments
Labels

Comments

@Dr-Turtle
Copy link

Describe the bug
When using a high DPI monitor, the UI does not increase its scale

To Reproduce

  1. Install and run on high DPI monitor

Expected behavior
UI to be larger relative to the monitor's DPI

Desktop:

  • Occurs on both Arch Linux and KDE Neon (both using KDE and X11)
  • both monitors tested on were 2560x1440p, one was 27", the other was 12.5"

Additional context
A workaround for Linux is to set GTK_SCALE (e.g. GTK_SCALE=2 ./pcgen.sh)

A simple fix for this would be to detect the user's DPI in pcgen.sh using xrandr (if installed) and setting GTK_SCALE from there (of course, a more robust solution would be preferred, but this would be better than nothing)

@Dr-Turtle Dr-Turtle added the bug label Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant