Summary: | Qt4 applications use wrong palette and icons w/ Breeze within a KDE 5.x session | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matthias Dahl <ua_gentoo_bugzilla> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugs.kde.org/show_bug.cgi?id=347547 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Matthias Dahl
2015-05-18 15:34:02 UTC
Ok, just tested on Kubuntu 15.04 and Qt4 apps _do_ get the correct colors assigned -- just like with OpenSUSE. Thus far, I haven't found anything in their patches and/or environment either that could explain why it is working there though. :( Here some additional information I have been able to gather: 1) Setting a symlink .kde -> .kde4 "fixes" (as in: workaround) the problem. 2) The color that doesn't get picked up when not everything is properly in place is "BackgroundNormal" from the "Colors:Selection" section of kdeglobals. I spent hours trying to figure out why this is different from other distributions but I came up empty-handed. If KDE_SESSION_VERSION=5, ".kde" is additionally searched for kdeglobals but not exclusively, thus it should still work. Also I have no idea where the ".kde" comes from. KSharedConfig (which uses KStandardDirs) should all be ".kde4". If anyone has any ideas whatsoever, please I am all hears and I would appreciate any help I can get. I don't have KF5 installed but ~/.kde probably comes from /usr/bin/startkde (kde-base/kdebase-startkde-4.11.*). /usr/bin/startkde --> shell script Mystery solved. ;-) We are not pulling in "kde-base/qguiplatformplugin_kde" if one does a clean KDE 5.x install, thus the Qt4 plugin never gets installed and all sorts of problems show up as a consequence. Usually it is pulled in through "kde-base/kdebase-meta". Once it is installed, everything works really perfectly without the need for any workaround and/or patches -- just like on every other distro. Just to make it clear: It is also installed on other KDE 5.x-based distros. :) Question is: Where should this dependency be added to because it is clearly required and should be fixed? For what it is worth: This whole ordeal gave me a good excuse to dive deep into how to debug Qt properly with naked gdb and I came to learn a lot about and love gdb macros. ;-) (In reply to wojtek from comment #3) > I don't have KF5 installed but ~/.kde probably comes from /usr/bin/startkde Thanks for taking the time, it is very much appreciated. But those (environment variables, ...) were the very first things I checked. :-) Should be solved now, using plasma-desktop[qt4] and breeze[kde4]? (In reply to Andreas Sturmlechner from comment #5) > Should be solved now, using plasma-desktop[qt4] and breeze[kde4]? Yes, that is correct. I will mark this bug as fixed then. Thanks for the reminder, so it won't stay open forever. :-) |