FS#22259 - [qt] qtconfig QGtkStyle was unable to detect the current GTK+ theme.

Attached to Project: Arch Linux
Opened by ugaciaka (ugaciaka) - Thursday, 30 December 2010, 21:22 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 17 May 2011, 08:30 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

qtconfig not recognized GTK+ theme in use. I use xfce but also sw writed in qt (k9copy, k3b) and is very orrible without theme like my gtk theme.

Additional info:
* package version: qt 4.7.1-3

Steps to reproduce:
open qtconfig from terminal.


Se also here https://bbs.archlinux.org/viewtopic.php?pid=775685
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Tuesday, 17 May 2011, 08:30 GMT
Reason for closing:  Not a bug
Additional comments about closing:  users have to fix this manually, see https://wiki.archlinux.org/index.php/Uni form_Look_for_QT_and_GTK_Applications#Ha ving_trouble_making_your_Qt_applications _use_QGtkStyle.3F
Comment by ugaciaka (ugaciaka) - Saturday, 01 January 2011, 08:12 GMT
LOL. If I install glabels the problem disappear. Glabels, or another dependecies, correct qgtkstyle ...
Comment by Greg (dolby) - Tuesday, 17 May 2011, 07:04 GMT
This is a very annoying QT problem: http://bugreports.qt.nokia.com/browse/QTBUG-5545 and not an Arch bug.

@Andrea: this is the same issue i had contacted you for. :)
Comment by Greg (dolby) - Tuesday, 17 May 2011, 08:22 GMT
I remembered how the story goes. As can be seen from the above, closed as invalid QT upstream bug report, QT doesnt think its their problem.
This variable ( GTK2_RC_FILES ) is exported by krdb for KDE to detect GTK+2 themes. So every KDE user should have it.
Alternatively, if this variable is not defined, QT looks for GConf. So GNOME users shouldnt have this problem.
The problem is only present if you dont have neither KDE or GConf. So its not an upstream problem.
But a decision should be made about weather to export this variable in some package, eg. GTK+2 (i dont know if its gonna cause any troubles) OR to not solve this at all and let users who are affected by it export the variable themselves. I think its also mentioned in the wiki.
Sorry for requesting closure as upstream, i just got bitten again by this and didnt remember the exact situation. I think that sums iit up decently.

Loading...