QtCurve style is not remembered

Bug #281016 reported by laksdjfaasdf
38
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KDE Base
Unknown
Medium
kdebase-workspace (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: systemsettings-kde4

Hardy upgraded to Intrepid with current updates 20081010:

Version:
ii systemsettings 4:4.1.2-0ubuntu6
ii kde-style-qtcurve 0.59.3-1ubuntu1 This is a set of widget styles for KDE3 based apps
ii kde4-style-qtcurve 0.59.3-0ubuntu2 Unified widget style for KDE and GTK+ - plain Qt 4 version
ii kde4-style-qtcurve-kdeconfig 0.59.3-0ubuntu2

Problem:

When choosing QtCurve for KDE4 in systemsettings, QtCurve is set correctly. But after logging out and in again, the default KDE4 Oxygen style is used for applications again.

In KDE3 and Gtk2 applications, QtCurve is remembered.

Revision history for this message
ZaWertun (zawertun) wrote :

Same symptoms.
I'll try to update QtCurve the most recent version.

Revision history for this message
laksdjfaasdf (laksdjfaasdf) wrote :

I compiled version KDE 4 0.59.6 but that didn't help. QtCurve theme was replaced after logging out and loging in again....

Revision history for this message
luisromangz (luisromangz) wrote :

Here it happens the same way, and I think it is important to say that it doesn't happen with other styles.

Revision history for this message
laksdjfaasdf (laksdjfaasdf) wrote :

The author of QtCurve has the answer to that problem (Re: QtCurve not remembered, 20th October)

http://www.kde-look.org/content/show.php/QtCurve+(KDE4%2C+KDE3%2C+%26+Gtk2+Theme)?content=40492

The easiest solution in my point of view is to change/add the following entry

[General]
...
widgetStyle=QtCurve

in the file

~/.kde/share/config/kdeglobals

Or globally as described in the post of CraigD

Revision history for this message
laksdjfaasdf (laksdjfaasdf) wrote :

Is it possible to fix that problem before Intrepid comes out?

Revision history for this message
OmniUni (omniuni) wrote :

I am having this problem as well. I will follow the link for the fix, but it is rather annoying. I do hope you can fix it before Intrepid release.

Revision history for this message
Björn Lindh (probablyx) wrote :

This bug affects Intrepid too...

Revision history for this message
Vlad Lungeanu (drvladl) wrote :

A simple solution (read: GUI): just change the style to something different than both Oxygen and QTcurve, apply, then change it again to QTcurve.

Revision history for this message
ZaWertun (zawertun) wrote :

This solution isn't working for me. Variants with login\logout isn't working either.

Revision history for this message
Aron Schatz (aronschatz) wrote :

The theme switch does not work for me, as well.

I'll try the file edit.

But these kind of things should be caught and fixed quickly.

Revision history for this message
William Hood (william-a-hood) wrote :

I can confirm this on a clean (non-upgrade) install of Kubuntu Intrepid 64-bit, and I think the problem may be the casing of how it saves the theme in use. I went to follow the edit instructions above, and opened ~/.kde/share/config/kdeglobals. When I did, I saw the following line in the [General] section already there:

widgetStyle=qtcurve

I edited the line to have the proper case:

widgetStyle=QtCurve

When I logged out and logged back in, the QtCurve theme was remembered.

Can anyone else confirm this work-around? This may turn out to be a quick fix (might be the one of the QtCurve packages, not the systemsettings package, but that's for the Kubuntu people to work out).

Revision history for this message
ZaWertun (zawertun) wrote :

Now QtCurve theme applied after logout\restart.
Thanks ! =-)

Revision history for this message
Aron Schatz (aronschatz) wrote :

I'm having additional problems. Speedcrunch doesn't even bother to use QtCurve even though it is set.

K3b uses the wrong colors for it.

Dolphin seems to work fine. I've attached a screenshot to detail what I mean.

Changed in kdebase:
status: Unknown → New
Changed in kdebase-workspace:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Xwang (xwang1976) wrote :

I confirm the bug on kubuntu 8.10 with kde 4.1.4.
In order to have QtCurve remembered I had to manually modify the kdeglobals file changing qtcurve in QtCurve.
Please fix the problem because this is just a workaround (every user which want to use QtCurve has to do that and the workaround must be repeated every time the style is changed using systemsettings).
Thank you,
Xwang

Revision history for this message
samuel782 (sscharrer) wrote :

The bug also applies to Kubuntu Jaunty Alpha 3 (fresh install).

I installed QtCurve from the apt packages "kde4-style-qtcurve-kdeconfig", "gtk2-engines-qtcurve").

Only here, there doesn't seem to be a "widgetStyle" line in the file ~/.kde/share/config/kdeglobals at all. Adding it manually seems to fix the problem though (at least temporarily).

Changed in kdebase:
status: New → Unknown
Changed in kdebase:
status: Unknown → Confirmed
Revision history for this message
jrdnyquist (jody-cltonline) wrote :

The bug also applies to Kubuntu Jaunty Beta and 4.2.2 updates as of 4/2/2009 (fresh install).

If you choose the "QtCurve" widget style under System Settings -> Appearance -> Style -> Widget Style...

This adds "widgetStyle=qtcurve" under [General] in ~/.kde/share/config/kdeglobals

If you then log out and back in, KDE4 overwrites ~/.kde/share/config/kdeglobals and removes "widgetStyle=qtcurve" under [General]

This means Firefox fonts will look terrible until this bug is fixed.

Changed in kdebase-workspace (Ubuntu):
status: Triaged → Confirmed
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Triaged is better than confirmed.

Changed in kdebase-workspace (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Samat Jain (tamasrepus) wrote :

CraigD (QtCurve's developer) has found what's going on here (comment quoted below):

This is a KUbuntu problem.

The problem is that KUbuntu sets QtCurve as its default KDE3, and Oxygen the default KDE4 theme.

When you run a KDE3 app, it sees that you have QtCurve set - but because this is also the default, it removes the entry from the kdeglobals config file.

So, when you now start a KDE4 app, the style has been set back to the default - oxygen.

To work-around this, you can use QtCurve's config dialog and select 'Export theme...' from its menu button. This will create a file named 'qtc_????.themerc' Then just copy this file to ~/.kde/share/apps/kstyle/themes/ Run 'kbuildsycoca4', then re-run kcmshell4 style - and select your new style (it should appear as its own entry in the main style selector)

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

This should be fixed now with the latest updates in 9.04. (QtCurve is no longer set as the default KDE3 theme) Please test :)

Revision history for this message
William Hood (william-a-hood) wrote :

This does appear to now be fixed on my Kubuntu Jaunty system. (Finally)

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

Great!

Changed in kdebase-workspace (Ubuntu):
status: Triaged → Fix Released
Changed in kdebase:
status: Confirmed → Invalid
Changed in kdebase:
status: Invalid → Unknown
Changed in kdebase:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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