Bug 503258 - qtconfig-qt4 does not apply gtk theme to apps
qtconfig-qt4 does not apply gtk theme to apps
Product: Fedora
Classification: Fedora
Component: qt (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Ngo Than
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2009-05-29 22:48 EDT by Francis Earl
Modified: 2009-05-29 23:08 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-05-29 23:08:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Francis Earl 2009-05-29 22:48:06 EDT
Description of problem:
When selecting GTK+ from the Appearance tab of qtconfig-qt4, it doesn't apply to any apps.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Fire up qtconfig-qt4
2. Set the theme to use GTK+ 
3. Fire up any KDE app from within Gnome, notice how ugly it looks
Actual results:
Ugly widgets in all apps

Expected results:
My GTK theme should have been used in all apps

Additional info:
Setting [General] widgetStyle=GTK+ in ~/.kde/share/config/kdeglobals got me my desired result. The packaging of QGtkStyle in Fedora 10 seemed to do something to take precedence over KDE settings, but I don't know what...
Comment 1 Kevin Kofler 2009-05-29 22:55:19 EDT
So, as I'm not sure I understood you correctly on IRC: does this only affect KDE apps? Or does qtconfig-qt4 fail to apply the theme entirely, even to Qt-only apps (such as qtconfig-qt4 itself)?
Comment 2 Francis Earl 2009-05-29 22:57:44 EDT
Kevin: I can only assume that Qt-only apps are fine as changing this setting does indeed change the widgets of qtconfig-qt4. I don't actually use any other Qt-only apps though, so I can't say 100%.
Comment 3 Kevin Kofler 2009-05-29 23:08:46 EDT
Well, then everything is working as designed, KDE as shipped by upstream intentionally overrides Qt's style (forcing Oxygen (on X11, the native style on Window$/Mac) or whatever is set up in kdeglobals), so it's normal that qtconfig-qt4 doesn't take effect. (KDE apps have to be set up through systemsettings from kdebase-workspace.)

Note You need to log in before you can comment on or make changes to this bug.