After update to KDE 4.6.1 from 4.6.0 any KDE application executed with sudo or kdesudo looks ugly

Bug #730008 reported by César Sánchez Alonso
60
This bug affects 13 people
Affects Status Importance Assigned to Milestone
Kubuntu PPA
Incomplete
Undecided
Unassigned

Bug Description

After update to KDE 4.6.1 from 4.6.0 any KDE application executed with sudo or kdesudo looks ugly. QT seems not being taking oxygen theme.

qtconfig gave me an idea:

"You can select the default GUI Style from the drop down list and customize the colors.
Any GUI Style plugins in your plugin path will automatically be added to the list of built-in Qt styles. (See the Library Paths tab for information on adding new plugin paths.)"

It seems that qt take a diferent path if is executed with sudo than if it is executed like a normal user.

I did a workarround to repair this.

sudo ln -s /usr/lib/kde4/plugins/styles/ /usr/share/qt4/plugins/

Probe if running any KDE application with sudo or kdesudo looks well, if not, do as follows:

sudo apt-get install qt4-qtconfig

sudo qtconfig

Select GUI Style ---choose----> Oxygen

File Save and close.

HTH

Revision history for this message
Vladimir Bohinc (homunkulus) wrote :

Well this doesn't work for me, qtconfig-qt4 doesn't even list Oxygen so it can't be set, well any ideas...

Revision history for this message
avlas (avlas) wrote :

Thanks, I had the same problem and your workaround worked perfectly!

Revision history for this message
Vladimir Bohinc (homunkulus) wrote :

Well it turns out this workaround did work, but I had to delete Trolttech.conf (/root/.config) and then set the theme.

Revision history for this message
kramerstefan (kramerstefan-web) wrote :

Same problem here & the workaround did work after deleting Trolltech.conf from /root/.config.

Anyway, I guess the symbolic link will be removed if Qt packages are updated... Somebody should find a proper solution for this issue to replace the workaround.

Revision history for this message
César Sánchez Alonso (csalinux) wrote :

Of course, the ideal thing is to find the error code and commit a fix.

Avoid remove files. Just rename what you want to can restore it as and when you want and need.

The bug status still is: New , undecided and unasigned.

Revision history for this message
Steven Sroka (lin-unix) wrote :

This bug is confirmed upstream. openSUSE is also dealing with this.

https://bugzilla.novell.com/show_bug.cgi?id=656144

----------------------------------------------------------------------------
https://bugs.kde.org/show_bug.cgi?id=199209
https://bugs.kde.org/show_bug.cgi?id=165268
https://bugzilla.novell.com/show_bug.cgi?id=514056

Note some of the workarounds in the above bug reports. People think it's a dbus issue.

Changed in kubuntu-ppa:
status: New → Incomplete
status: Incomplete → Confirmed
Revision history for this message
Philippe Piquer (philippep62) wrote :

Solved in 4.6.2 :)

Revision history for this message
Simon Quigley (tsimonq2) wrote :

Thank you for taking the time to report this bug and helping to make Kubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Kubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Kubuntu version. If you test it and it is still an issue, kindly upload the updated logs by running only once:
apport-collect 730008

and any other logs that are relevant for this particular issue.

Changed in kubuntu-ppa:
status: Confirmed → Incomplete
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.