Results 1 to 5 of 5

Thread: Plasma 5 - Qt4/KDE4 apps don't change color

  1. #1

    Exclamation Plasma 5 - Qt4/KDE4 apps don't change color

    Hi there,
    it seems that Qt4 and KDE4 apps don't adapt to new selected color scheme from Plasma's Desktop Configuration menu.
    In the following screen-shot you can see Konqueror (KDE4) and Clementine (Qt4) apps are running behind Dolphin's (Plasma 5, Qt5) window.

    http://s32.postimg.org/ju3t92upx/Scr...519_213259.png

    For Plasma's default Breeze and OpenSuse's default themes they work perfectly, providing the same look&feel but not for other color schemes.
    Any idea?

    Thanks.

  2. #2

    Default Re: Plasma 5 - Qt4/KDE4 apps don't change color

    Quote Originally Posted by aramgrigoryan View Post
    For Plasma's default Breeze and OpenSuse's default themes they work perfectly, providing the same look&feel but not for other color schemes.
    Any idea?
    Plasma5's systemsettings5 should write the color settings to the KDE4 config too, although running applications might not immediately notice the change in settings.

    Check that you have kdebase4-workspace-libs installed (it should be by default), without it KDE4/Qt4 applications will not respect the KDE settings at all.

    Also, try to remove the Qt4 config file (~/.config/Trolltech.conf), it might cause problems/override the color scheme.

    If that doesn't help, you might also install kdebase4-workspace-addons, and use KDE4's systemsettings to configure your KDE4/Qt4 applications.

  3. #3

    Default Re: Plasma 5 - Qt4/KDE4 apps don't change color

    Quote Originally Posted by wolfi323 View Post
    Plasma5's systemsettings5 should write the color settings to the KDE4 config too, although running applications might not immediately notice the change in settings.

    Check that you have kdebase4-workspace-libs installed (it should be by default), without it KDE4/Qt4 applications will not respect the KDE settings at all.

    Also, try to remove the Qt4 config file (~/.config/Trolltech.conf), it might cause problems/override the color scheme.

    If that doesn't help, you might also install kdebase4-workspace-addons, and use KDE4's systemsettings to configure your KDE4/Qt4 applications.
    Doing it with KDE4's systemsettings works. And I see it as a bug. Here is why. When you change the color from Plasma5's systemsettings5 and choose any preinstalled color schemes (honey comb, breeze dark etc) it changes for KDE4 apps as well... But if you install a new Color scheme via "Get New Theme" on the same screen it won't change for KDE4 apps... Can you please check this to confirm? (I've installed Color Scheme called "Ghost").

    Thanks.

  4. #4

    Default AW: Re: Plasma 5 - Qt4/KDE4 apps don't change color

    Quote Originally Posted by aramgrigoryan View Post
    And I see it as a bug.
    Well, systemsettings5 is supposed to write the color settings to the KDE4 config files too.
    If that doesn't work as expected, it is a bug, yes.

    Here is why. When you change the color from Plasma5's systemsettings5 and choose any preinstalled color schemes (honey comb, breeze dark etc) it changes for KDE4 apps as well... But if you install a new Color scheme via "Get New Theme" on the same screen it won't change for KDE4 apps... Can you please check this to confirm? (I've installed Color Scheme called "Ghost").
    Ok, I can reproduce it with downloaded color schemes.

    systemsettings5 does write the selected color scheme correctly to KDE4's kdeglobals, but the problem is that the file is downloaded to ~/.local/share/color-schemes/ (where KF5 expects it), but KDE4 doesn't find it there (it only looks in ~/.kde4/share/apps/color-schemes/).

    Copy the color scheme file manually and it should work.

    So, not really a bug, although the download function should maybe copy (or symlink) the file to the KDE4 location too.
    And the same problem likely also exists for other "Get New xxx..." instances too (where it makes sense to apply them to KDE4 as well).

    There is a bug report that sounds somehow similar, but I'm not sure it is exactly the same problem:
    https://bugs.kde.org/show_bug.cgi?id=354618
    (the reporter thinks his is a problem with the file name handling)

    I did notice another problem (in systemsettings5) though: if you change the colors themselves, systemsettings5 does *not* write them to the KDE4 settings. This only works with a complete color scheme.
    https://bugs.kde.org/show_bug.cgi?id=353071

    Those are two independent problems of course.
    Though fixing the latter might fix the former as well, if the colors are explicitly stored in kdeglobals there's not really a need to load the scheme file any more.
    I might have a look at the code to see if I can find out what's going wrong, but this will have to wait until next week at least.
    Last edited by wolfi323; 20-May-2016 at 02:11.

  5. #5

    Default Re: AW: Re: Plasma 5 - Qt4/KDE4 apps don't change color

    Quote Originally Posted by wolfi323 View Post
    Those are two independent problems of course.
    Have added me to CC list... And thank you so much for attention!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •