Bug 339868 - kubuntu plasma next ( 14.10) - kf5 apps use gtk2 theme
Summary: kubuntu plasma next ( 14.10) - kf5 apps use gtk2 theme
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Theme packages (show other bugs)
Version: master
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL: https://bugs.launchpad.net/ubuntu/+bu...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-11 09:09 UTC by Bharat Rajagopalan
Modified: 2015-10-21 18:22 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bharat Rajagopalan 2014-10-11 09:09:25 UTC
I am using the kubuntu next repository on kubuntu 14.10 - with the latest release of plasma 5.1. I have a bizarre issue that the kf5 applications like system-settings seem to be using the gtk2 theme set using the kde-gtk-config tool. Kde4 applications and qt4 applications correctly use the application style set.

E,g, i set application style to breeze, gtk2 theme to qtcurve and gtk3 to adwaita - and i can see that systemsettings5 is using qtcurve. while konversation (kde 4) and cadence (qt4) is using breeze (qt4config shows that theme is set to desktop default).

When i change the gtk2 theme to say oxygen-gtk and restart system-settings it changes themes.

Changing the theme in kde application style doesn't have any effect on system settings - also i that kde 4 applications don't change themes on the fly - they need to be restarted which is different behaviour to what i had seen in the early betas of plasma next

Please let me know how i can debug this issue further?

Output of lsb_release -rd

Description: Ubuntu Utopic Unicorn (development branch)
Release: 14.10

output of apt-cache policy plasma-workspace

plasma-workspace:
  Installed: 4:5.1.0-0ubuntu1~ubuntu14.10~ppa4
  Candidate: 4:5.1.0-0ubuntu1~ubuntu14.10~ppa4
  Version table:
 *** 4:5.1.0-0ubuntu1~ubuntu14.10~ppa4 0
        500 http://ppa.launchpad.net/kubuntu-ppa/next/ubuntu/ utopic/main amd64 Packages
        100 /var/lib/dpkg/status

Reproducible: Always

Steps to Reproduce:
1. start system settings
2. change the gtk theme to say redmond
3.restart system settings - the gtk theme is used for the kf5 application
4. kde 4 applications remain unaffected

Actual Results:  
kf5 applications use gtk2 theme

Expected Results:  
kf5 application should use the kde application style theme

i have pasted the launchpad bug report link with a screenshot in the url section
Comment 1 Marco Martin 2014-10-13 14:48:59 UTC
This seems a downstream problem?
Comment 2 Bharat Rajagopalan 2014-10-14 21:33:22 UTC
Thanks for the assessment - are there any property files/environment variables that i can check/edit to debug this further?
Comment 3 Jonathan Riddell 2014-10-15 08:54:46 UTC
no reason why it should be a downstream issue, plasma should set the gtk themes on first use, I hope to look at this issue this week
Comment 4 Jonathan Riddell 2014-10-20 13:08:47 UTC
https://git.reviewboard.kde.org/r/120624/
Comment 5 zidagartsk 2014-10-22 12:37:41 UTC
Seems that QT_STYLE_OVERRIDE is set to 'gtk', workaround is to set manually specific theme.
Put follow line in your .profile for example and restart KDE session:
export QT_STYLE_OVERRIDE=breeze
Comment 6 Marco Martin 2015-01-14 13:06:33 UTC
did https://git.reviewboard.kde.org/r/120624/ actually solve the issue?
Comment 7 David Edmundson 2015-01-20 11:32:23 UTC
>did https://git.reviewboard.kde.org/r/120624/ actually solve the issue?

Marking as needsinfo.
(Marco can you do so when we making a comment like this, it saves me having to triage)
Comment 8 Martin Klapetek 2015-10-21 18:22:02 UTC
Given the patch above and no response in 9 months, I'm closing this report.

Please reopen if you still experience these issues with Plasma 5.4 and Qt 5.5.

Thanks.