[neon] [Bug 362767] High DPI is messed up after Qt 5.6 update

Greg Varsanyi via KDE Bugzilla bugzilla_noreply at kde.org
Mon May 9 17:57:41 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=362767

--- Comment #10 from Greg Varsanyi <gvarsanyi at gmail.com> ---
(In reply to Weng Xuetian from comment #9)
> IIRC, though QT_DEVICE_PIXEL_RATIO is still there, it's not doing the exact
> same thing as it is in 5.5 . For now I'm using a combination of
> QT_AUTO_SCREEN_SCALE_FACTOR and QT_SCREEN_SCALE_FACTORS to achieve the same
> effect.

what combination do you use? and how do you make it system wide exactly?

> And kwin/plasma shouldn't be affected since they are not using it anyway, if
> you found kwin/plasma is scaled, probably your distro need to compile
> kwin/plasma against Qt 5.6 to make some qt5.6 compile time specific check
> work.

plasma and kwin seem to use the font size, around the idea of `1 line height in
rendered px = perceivedDPI / 96 * referenceFontBoundaryHeight` where
perceivedDPI seems to come from QT_FONT_DPI / fonts.conf DPI value / X.org
global DPI

--

how do I check what Qt version are plasmashell or kwin_x11 compiled against?
for apps it's shown on the about/version panel, but `plasmashell -v` only gives
me plasma version.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the neon mailing list