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

Detecting and setting a sensible UI scale #573

Open
rsms opened this issue Jul 10, 2021 · 6 comments
Open

Detecting and setting a sensible UI scale #573

rsms opened this issue Jul 10, 2021 · 6 comments

Comments

@rsms
Copy link

rsms commented Jul 10, 2021

Describe the bug
Booting up elementaryos-6.0-daily.20210615.iso from a USB drive on a display with high density pixels the installer defaults to a 1.0 scaling factor making it really hard to read things.

To Reproduce
Steps to reproduce the behavior:

  1. Put elementaryos-6.0-daily.20210615.iso on some data media
  2. Boot up a machine to that disk
  3. Wait for the installer to start

Expected behavior
UI of the installer to be of a physically-sensible size (buttons to be ~10mm tall, text to be >~5mm)

Actual behavior
UI is tiny. Scaling factor appears to be 1.0

Screenshots
IMG_0453
IMG_0456

Desktop:

  • OS: Elementary (from live disk on USB drive)
  • Browser: N/A
  • Version: 6.0 beta 20210615

Additional context
Display is a Dell P2715Q (27", 3840x2160px, pixel pitch 0.1554mm) connected over DisplayPort

@rsms
Copy link
Author

rsms commented Jul 10, 2021

I wonder if in the installer, when the display framebuffer is above a certain sensible amount (like MAX(w,h) >= 1280) you could set the scale to 2.0 and ask the user "Which UI scale do you prefer? [image of smaller detailed UI] [image of larger simpler UI]"

@cassidyjames
Copy link
Contributor

@rsms so 27" 4K is in a weird range because 1080p@2x on that size is gonna look really chunky depending on how close or far you are, and if you're far enough away that it looks good, the fact that it's HiDPI is almost irrelevant because you can't see those pixels anyway…

Technically, we currently rely on GNOME Settings Daemon's defaults for scaling, and it counts 192 DPI as the magic number for 2× scaling. Since this display is 163 DPI, it's below that threshold and stays at 1×. We could offer a screen here (and then again in the Onboarding or Initial Setup app) to choose if you're in this sort of tricky range, but honestly, I'm more inclined to just handle it in Onboarding than in the installer; the Installer doesn't set up other user preferences or hardware defaults and is solely designed to get the OS installed.

We do have elementary/onboarding#83 filed in Onboarding, and what we implement there could be repeated here as well. But be aware there's overlap.

@swirly

This comment has been minimized.

@cassidyjames

This comment has been minimized.

@swirly
Copy link

swirly commented Sep 7, 2021

@swirly if that's a VM, it's a well-known issue noted in the official FAQ on the homepage, installation instructions, and announcement post.

I had this problem on a VM (vmware) so I tried on a real (but old) computer, with an internal limited GPU and an old screen... that was for testing. I finally installed the whole thing by using tab and guesses, but it was quite rock and roll :)

@swirly
Copy link

swirly commented Sep 9, 2021

No idea why the comment above was marked off-topic. Scale is a problem both for big screen and small screens, isn't it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants