Skip to content
This repository has been archived by the owner on Oct 17, 2019. It is now read-only.

Broken rendering on high DPI displays on Windows #335

Closed
tiffany352 opened this issue Jun 13, 2018 · 5 comments
Closed

Broken rendering on high DPI displays on Windows #335

tiffany352 opened this issue Jun 13, 2018 · 5 comments
Labels

Comments

@tiffany352
Copy link

System:

  • Nheko version: Latest release and latest nightly both repro it.
  • Installation method: The installer exe.
  • Operating System: Windows 10

Actual behavior

This is a Dell XPS 13 with a 13.3" 3200x1800 display, around 250 DPI. It's configured out of the box to use a UI scale factor of 250%.

image

Expected behavior

For the UI to be readable without a magnifying glass.

In my (limited) experience working with Qt apps, this can be fixed by enabling AA_EnableHighDpiScaling before creating the QApplication.

Enabling compatibility mode so that the application gets bitmap upscaled would "fix" it, but I'd sooner use another client instead.

@mujx
Copy link
Owner

mujx commented Jun 24, 2018

@tiffany352
Copy link
Author

@mujx Yeah, that build works.

@nermolov
Copy link

HiDPI scaling does not work on master for me either (Arch, i3). That test build above works but scales too greatly - I have a 1440p display (not 4K) and as such 2x scaling ends up looking like a toy.

@dessalines
Copy link

This is still broken on arch.

@nermolov
Copy link

@dessalines the issue is that nheko doesnt detect hidpi (yet), but you can set the qt scaling factor manually like so:

env QT_SCALE_FACTOR=1.5 nheko

I'm using 1.5 for a 1440p 13in display, 4k should probably be 2

Works perfectly

@mujx mujx closed this as completed in 85e93a8 Jul 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants