Summary: | DPI is inconsistent between the plasma desktop and other apps | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Julian Sikorski <belegdol> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | adaptee, cfeck, eugene.shalygin+bugzilla.kde, kevin.kofler, matija, rdieter, vo.zaeb |
Priority: | NOR | ||
Version: | 4.9.0 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Kwin and plasma fonts don't match |
Description
Julian Sikorski
2011-05-15 15:15:10 UTC
confirmed. my experience does tell me that qt/kde indeed does respect dpi as reported by your system whereas gtk/gnome generally hard-codes 96 (or 120 in some circumstances). I'm not sure there's much to do until that fundamental difference is resolved. Looking at similar reports (bug 179962, bug 171683), I feel that this bug is specific to Fedora. It's probably specific to distros using xsettings-kde. But xsettings-kde should be setting the DPI xsettings to the same value as the KDE settings. And why is Qt looking at xsettings in the first place? Normally, those are only used by GTK+ apps. Since at least in my case (ThinkPad T400s, intel drivers), xdpyinfo shows wrong phsyical size of the display and therefore DPI (96, instead of 120), while xrandr guessed both correctly, I would rather like to have Qt/KDE guess the DPI from xrandr. From what I heard on #intel-gfx channel, it also seems like xrandr is in general a lot more reliable then xdpyinfo. This is still the case with KDE 4.8.1 and Fedora 17. Same here with Gentoo and KDE 4.9 $ xdpyinfo | grep -B1 dot dimensions: 1920x1080 pixels (407x229 millimeters) resolution: 120x120 dots per inch which is correct. Fonts in Plasma and windows titlles are smaller (96 DPI?), while all other - 120. If "Force fonts DPI" option in System Settings is set, Plasma and KWin use that value Have the same issue. My resolution is 2560x1440 and dpi is 109. I set it in X11 config, kde systemsetting and even in kdmrc and still plasma and kwin fonts are smaller. Using Arch Linux with Qt: 4.8.4 KDE: 4.10.4 kde4-config: 1.0 Created attachment 80522 [details]
Kwin and plasma fonts don't match
Please look at Kwin window titles and desktop icon fonts, they are smaller than in other apps.
Also can confirm that kwin --replace and killall plasma-desktop && plasma-desktop fixes the issue.
Best,
Alex
Hello! This bug report was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this bug is already resolved in Plasma 5. Accordingly, we hope you understand why we must close this bug report. If the issue described here is still present in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging Thanks for your understanding! Nate Graham |