Bug 361306

Summary: QT theme not applied if opening application anywhere else but KDE-menu
Product: [Plasma] plasmashell Reporter: Tuomas Salokanto <tuomas.salokanto>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED NOT A BUG    
Severity: major CC: bshah, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.5.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
URL: http://i.imgur.com/a1pHD3p.png
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Tuomas Salokanto 2016-04-02 08:03:59 UTC
When I open qt-themed appliaction from for example Plank (dock) icon, Synapse menu, from command line, it has an ugly theme that cannot be changed. It always looks the same, icons missing etc. On the other hand, when I open the same application from KDE-menu, or the KDE search bar on desktop, the application theme is correct.

I cannot remember when this behaviour started, but it was before 5.6 for sure.

Reproducible: Always

Steps to Reproduce:
1. Open for example systemsettings5 from command line
2. Open System Settings from KDE menu
3. Compare



Not working http://i.imgur.com/a1pHD3p.png

Working http://imgur.com/QV8qPbP

WM is bspwm, but not relevant to the problem.
Comment 1 Tuomas Salokanto 2016-04-02 08:07:06 UTC
Not working: http://imgur.com/XeHr8jN

Put the wrong "not working" link in original post. 

In the original link there is two sessions of transmission-qt open, left one from kde-menu, right one from anywhere else
Comment 2 David Edmundson 2016-04-03 20:36:54 UTC
You're missing some env values.

Chances are either:
 - you have a bash profile unsetting them
 - you're not using a proper display manager /startkde script.