Bug 347783 - Icons + text too small after correcting dual-head DPI
Summary: Icons + text too small after correcting dual-head DPI
Status: RESOLVED FIXED
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: libplasma (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-16 08:47 UTC by Ancoron
Modified: 2016-05-07 10:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
xorg.conf (1.28 KB, text/plain)
2015-05-16 08:51 UTC, Ancoron
Details
application launcher - rendered with 201x100 DPI (26.44 KB, image/png)
2015-05-16 08:52 UTC, Ancoron
Details
application launcher and panel - rendered with fixed 100x100 DPI (234.12 KB, image/png)
2015-05-16 08:53 UTC, Ancoron
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ancoron 2015-05-16 08:47:24 UTC
Versions:
* plasma-framework: 5.9.0-0ubuntu1
* plasma-desktop: 4:5.3.0-0ubuntu1~ubuntu15.04~ppa1

My environment:
* 2x 2560x1600 @ 100 dpi side-by-side dual-head setup
* 1x DualLink-DVI directly from graphics card
* 1x DisplayPort via active adapter to DualLink-DVI (because monitors only have DVI)

The xorg.conf contains a section as recommend/suggested/proposed by the following page:
* https://community.kde.org/KDE/High-dpi_issues#User_settable.2C_overall_DPI

With the following contents for the DisplayPort connector (which are based on EDID information from the DVI-connected monitor - both are exact same model):

Option          "UseEdidDpi" "false"
DisplaySize     646 406

However, KDE/Plasma does not pick up that information, and xdpyinfo shows:
  resolution:    201x100 dots per inch

For a workaround I introduced an Xsession script with the following contents:
[ -x /usr/bin/xrandr ] && /usr/bin/xrandr --dpi 100

This fixes an icon scaling problem within the application launcher, activity manager and several other issues (e.g. resulting DPI of scanned artifacts).

However, although I now have the correct DPI set, icons and text inside the default panel are way too small so that e.g. the text of windows is completely unreadable.

Reproducible: Always
Comment 1 Ancoron 2015-05-16 08:51:17 UTC
Created attachment 92635 [details]
xorg.conf
Comment 2 Ancoron 2015-05-16 08:52:43 UTC
Created attachment 92636 [details]
application launcher - rendered with 201x100 DPI
Comment 3 Ancoron 2015-05-16 08:53:34 UTC
Created attachment 92637 [details]
application launcher and panel - rendered with fixed 100x100 DPI
Comment 4 Marco Martin 2016-05-04 12:08:54 UTC
does still happen?
Comment 5 Ancoron 2016-05-07 10:02:12 UTC
Looks like the problem is solved. Thank you.