GTK applications run as root are not themed with Qt4

Bug #225076 reported by laughingLoki
10
Affects Status Importance Assigned to Milestone
gtk-qt-engine (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Intrepid by Rafael Belmonte
gtk-qt-engine-kde4 (Ubuntu)
New
Undecided
Unassigned
Nominated for Intrepid by Rafael Belmonte

Bug Description

Binary package hint: gtk-qt-engine-kde4

When a GTK application is run as root, it is not themed using Qt4 controls. I realise that this may have to do with the root user having separate preferences. However, I would expect that after installing the package (gtk-qt-engine-kde4) that Qt4 controls would be used by default in GTK applications for all users.

See attached screen including Synaptic.

Revision history for this message
laughingLoki (laughingloki) wrote :
Revision history for this message
laughingLoki (laughingloki) wrote :

Notes:
Ubuntu 8.04
gtk-qt-engine-kde4 1.1-0ubuntu1

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Confirming with latest Hardy.

Changed in gtk-qt-engine-kde4:
status: New → Confirmed
Revision history for this message
Olivier (olivier-lacroix) wrote :

This is still the case on intrepid

Revision history for this message
Andre Eliatamby (andreeli-deactivatedaccount) wrote :

Temporary fix:

sudo mv ~/.gtkrc-2.0-kde4 /root/.gtkrc-2.0

I guess to enable this in via the KDE system tools, the system panel would need to allow super-user access to change for root.

Revision history for this message
laughingLoki (laughingloki) wrote :

Andre:

With your temporary fix, GTK applications are themed using Qt 3 instead of Qt 4 when starting those applications using the KDE application launcher.

Using sudo from the console themes the applications correctly.

Revision history for this message
laughingLoki (laughingloki) wrote :

It looks like the issue may be kdesudo in my previous post.

Revision history for this message
Marco Scholl (traxanos) wrote :

thanks for workaround. works fine!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.