Bug 361306 - QT theme not applied if opening application anywhere else but KDE-menu
Summary: QT theme not applied if opening application anywhere else but KDE-menu
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.5.5
Platform: Arch Linux Linux
: NOR major
Target Milestone: 1.0
Assignee: David Edmundson
URL: http://i.imgur.com/a1pHD3p.png
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-02 08:03 UTC by Tuomas Salokanto
Modified: 2016-04-03 20:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.