Summary: | krdb/kcminit sets wrong font for Qt4 applications on login | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | jingyu9575 <qw2g64> |
Component: | krdb | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bhush94, kde, lassana.nd, linux, plasma-bugs, rdieter, reavertm, simonandric5, wbauer1 |
Priority: | NOR | ||
Version: | 5.9.4 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/plasma-desktop/978700d9b65b6118e93a87bc7fbe9c113ca7d2ab | Version Fixed In: | |
Sentry Crash Report: |
Description
jingyu9575
2017-03-30 07:47:14 UTC
A similar report: https://forum.kde.org/viewtopic.php?f=289&t=139158 Do you have the kde4 platform plugin installed (from kde-workspace-4.x)? I suspect that may be required (desirable?) to make this work better too. (In reply to Rex Dieter from comment #2) > Do you have the kde4 platform plugin installed (from kde-workspace-4.x)? I > suspect that may be required (desirable?) to make this work better too. I can't find this package in Arch repo. KDE4 applications have right fonts, the problem is with other Qt4 applications like vlc-qt4. It's a Qt4 platform plugin, it's purpose is to provide a better uniform experience for Qt4-only apps. (Similar to what plasma-integration provides for pure Qt5 applications). (In reply to Rex Dieter from comment #4) > It's a Qt4 platform plugin, it's purpose is to provide a better uniform > experience for Qt4-only apps. (Similar to what plasma-integration provides > for pure Qt5 applications). I searched the Arch repo but still cannot find it. I tried installing a rpm found on the Internet, which contains /usr/lib64/kde4/plugins/gui_platform/libkde.so, but nothing changes. Could you please list the file names/paths provided by this plugin package? libkde.so is it I can confirm this bug on Gentoo earlier and recently also on Fedora 25 (observed during update of kf5-5.32 to 5.33 and plasma-5.8.6 to 5.9.4) KDE4 plarform plugin is of course installed [mrozowsk@cnu420dqzs ~]$ rpm -ql kde-platform-plugin /usr/lib64/kde4/plugins/gui_platform/libkde.so When straced, pure Qt4 apps do load that plugin so QT4 plugin path is also set correctly. Same here on openSUSE with the latest Qt5, KF5 and Plasma. KDE4 applications do use the font from KDE4's kdeglobals (which is correctly synced), but plain Qt4 applications use the font specified in Trolltech.conf (which gets set to "Sans Serif 9" on every login to Plasma5). Same here on KDE Neon 5.10. Git commit 978700d9b65b6118e93a87bc7fbe9c113ca7d2ab by Kai Uwe Broulik. Committed on 30/06/2017 at 12:16. Pushed by broulik into branch 'master'. [KRDB] Read kdeglobals font and fallback to hardcoded default if neccessary kcminit is non-desktopSettingsAware (for performance) which will keep it from loading our platform theme. This also means that QFontDatabase also won't know our font settings. Based on a patch by jingyu9575, thanks. M +13 -2 kcms/krdb/krdb.cpp https://commits.kde.org/plasma-desktop/978700d9b65b6118e93a87bc7fbe9c113ca7d2ab When is it planed to go to kdeneon? Thanks Still not in KDE-Neon ;( Best Regards This is master branch ie. Plasma 5.11 material Oh... ok. Thanks for the information. |