Chosen Gtk theme not set in ~/.gtkrc-2.0

Bug #1051630 reported by Marcelo
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
kcm-gtk (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I use the QtCurve and have set it to be used for GTK applications too, in System Settings -> Applications appearance -> GTK+ appearance (I'm translating from portuguese, english labels may not be exactly these).
Before upgrading to KDE 4.9.1, which is available in Ubuntu 12.04 backports repo, GTK applications appearance was very close to the KDE ones, both using QtCurve.
However, after upgrading to 4.9.1 and QtCurve 1.8.14-1, all GTK applications show the default appearance of QtCurve, which is an oxygen-like style.
I use QtCurve with a customized acqua-like style which is correctly rendered for KDE applications, but not for GTK applications. Therefore, GTK applications look completely alien in my KDE desktop. The same thing happens if I set up QtCurve to use any of the provided preset settings. Only if QtCurve is set up to use the default oxygen-like look and feel do KDE and GTK applications look the same.

Running Kubuntu 12.04.01 AMD64 with all updates available to this date (16-sep-2012).
QtCurve packages (all versioned 1.8.14-1~precise1~ppa1):
qtcurve
kwin-style-qtcurve
kde-style-qtcurve
qtcurve-i18n
gtk2-engines-qtcurve (this one is versioned 1.8.14-1)

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gtk2-engines-qtcurve 1.8.14-1
ProcVersionSignature: Ubuntu 3.2.0-30.48-generic 3.2.27
Uname: Linux 3.2.0-30-generic x86_64
ApportVersion: 2.0.1-0ubuntu13
Architecture: amd64
Date: Sun Sep 16 10:53:07 2012
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120423)
ProcEnviron:
 LANGUAGE=pt_BR
 TERM=xterm
 PATH=(custom, user)
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
SourcePackage: gtk2-engines-qtcurve
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Marcelo (mmtsales) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gtk2-engines-qtcurve (Ubuntu):
status: New → Confirmed
Revision history for this message
Adam Porter (alphapapa) wrote :

This is a regression in KDE, not a bug in QtCurve. The problem appears to be that systemsettings does not change ~/.gtkrc-2.0: no matter what the Gtk theme is set to, this file is set to "oxygen-gtk". But the file ~/.gtkrc-2.0-kde4 properly has the Gtk settings, including qtcurve or whatever you choose. If you copy ~/.gtkrc-2.0-kde4 over ~/.gtkrc-2.0 and restart Firefox and your other Gtk apps, they will use QtCurve again.

Revision history for this message
Adam Porter (alphapapa) wrote :

Hopefully this is the correct package. This probably needs to be filed on bugs.kde.org also.

affects: gtk2-engines-qtcurve (Ubuntu) → kcm-gtk (Ubuntu)
summary: - QtCurve style is not correctly applied to gtk applications
+ Chosen Gtk theme not set in ~/.gtkrc-2.0
Revision history for this message
Tehnick (tehnick) wrote :

This bug was fixed in Ubuntu Quantal: kcm-gtk was replaced by kde-gtk-config. I don't know if this bug need special fix in Ubuntu Precise. Because simple symlink fixes the problem.

Revision history for this message
Adam Porter (alphapapa) wrote : Re: [Bug 1051630] Re: Chosen Gtk theme not set in ~/.gtkrc-2.0

Are you sure it's fixed? I already have that package in Precise.

$ dpkgL kde-config-gtk
/usr/lib/kde4/kcm_gtk.so

kde-config-gtk:
  Installed: 2:0.5.3-1ubuntu3
  Candidate: 2:0.5.3-1ubuntu3
  Version table:
 *** 2:0.5.3-1ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status

On Mon, Sep 24, 2012 at 2:02 AM, Tehnick <email address hidden> wrote:
> This bug was fixed in Ubuntu Quantal: kcm-gtk was replaced by kde-gtk-
> config. I don't know if this bug need special fix in Ubuntu Precise.
> Because simple symlink fixes the problem.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1051630
>
> Title:
> Chosen Gtk theme not set in ~/.gtkrc-2.0
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/kcm-gtk/+bug/1051630/+subscriptions

Revision history for this message
Tehnick (tehnick) wrote :

In Ubuntu Quantal, but not in Ubuntu Precise.

Revision history for this message
Peng (pengwg) wrote :

There is another problem.

After the file ~/.gtkrc-2.0 is created and if someone goes back to the unity environment, all qt applications and firefox will lose gtk appearance.

And qt4-settings does not work correctly either. The theme under GTK+ appears different.

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.