Skip to content
This repository has been archived by the owner on Apr 16, 2018. It is now read-only.

qt: Does not work well with HiDPI displays on Linux #124

Open
sdroege opened this issue Oct 24, 2015 · 4 comments
Open

qt: Does not work well with HiDPI displays on Linux #124

sdroege opened this issue Oct 24, 2015 · 4 comments

Comments

@sdroege
Copy link
Owner

sdroege commented Oct 24, 2015

@amorenoc see attached screenshot. How does it work on OSX with Retina displays?

It looks like parts of the UI are scaled properly, other parts not.
qt

@moleike
Copy link
Contributor

moleike commented Oct 26, 2015

@sdroege retina displays looks fine, weird that in a HiDPI screen it's upscaled (since I am using device independent sizes for the icons).
FWIW looks like there will be better support for cross-platform HiDPI: http://lists.qt-project.org/pipermail/development/2015-June/021631.html

@sdroege
Copy link
Owner Author

sdroege commented Oct 26, 2015

Well, the icons are upscaled and correct and so is the text (0:00). What is wrong is the scale of the window and the toolbar. They would have to be scaled by two too, then everything would look correct :)

Do you specify things in device pixels somewhere and could specify it in "visual pixels" instead?

@moleike
Copy link
Contributor

moleike commented Oct 27, 2015

@sdroege yes, I am specifying fonts in points and other sizes in pixels, so I will have to fix that :)
But still puzzles me that I am not seeing this issue since I use a MacBook Pro with Retina display.

@moleike
Copy link
Contributor

moleike commented Oct 27, 2015

this link explains why we are seeing different results: http://blog.qt.io/blog/2013/04/25/retina-display-support-for-mac-os-ios-and-x11/

sdroege pushed a commit that referenced this issue Oct 27, 2015
See #124. We should switch everything to be device independent
at some point, but this at least gives us a consistent UI for the time being.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants