Bug 704842 - DPI is inconsistent between the plasma desktop and other apps
Summary: DPI is inconsistent between the plasma desktop and other apps
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kdebase-workspace
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-15 13:08 UTC by Julian Sikorski
Modified: 2012-08-07 18:59 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-07 18:59:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
KDE Software Compilation 273343 0 None None None Never

Description Julian Sikorski 2011-05-15 13:08:49 UTC
Description of problem:
A picture says more than a thousand words:
http://belegdol.fedorapeople.org/kdefonts.png
I have a 1920x1080 15.6' screen. As I was told, gnome overrides the dpi (to 96 it seems), while KDE uses the real one:

$ xdpyinfo | grep -B1 dot
  dimensions:    1920x1080 pixels (351x191 millimeters)
  resolution:    139x144 dots per inch

The problem is that plasma desktop seems started before the dpi gets detected, resulting in fonts smaller than everything else. Overriding the dpi to 96 seems to bring the consistency back (systemsettings in this screenshot was started after the override):
http://belegdol.fedorapeople.org/kdefonts2.png

Version-Release number of selected component (if applicable):
4.6.2-6.fc15

How reproducible:
always

Steps to Reproduce:
1. Log in to KDE desktop on a high dpi screen
2. Start an application
  
Actual results:
Font sizes are inconsistent

Expected results:
Font sizes remain the same

Comment 1 Rex Dieter 2011-05-15 21:43:29 UTC
Just to be sure, to you have xsettings-kde installed?

Regardless, I'm not sure there's much we can do.  qt/kde and gtk/gnome have chosen to treat dpi differently (ie, qt/kde respect/use dpi as reported by the system, whereas gtk generally uses only 96/120 dpi).

workaround is to hard-code kde's dpi to 96 or 120 via 
systemsettings->application appearance->fonts->Force fonts DPI

Comment 2 Julian Sikorski 2011-05-15 21:47:11 UTC
Yes, I have installed it as Kevin told me. And look closer, the problem is that KDE apps and plasma desktop are inconsistent, look at Dolphin in the first screenshot.

Comment 3 Kevin Kofler 2011-05-16 03:21:26 UTC
FWIW, I'm not sure GTK+ really does hardcode 96 dpi. Last I checked, it didn't, but they might have changed it again. They're going back and forth on that, some GNOME developers think hardcoding dpi is broken, others think using the physical dpi is broken.

kdelibs used to always default to 96 dpi, but doesn't anymore. It might be that there's some assumption about that left somewhere in the code.

Comment 4 Fedora End Of Life 2012-08-07 18:59:25 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.