Bug 5703 - oxygen-gtk overrides theme settings in Xfce and Mate
Summary: oxygen-gtk overrides theme settings in Xfce and Mate
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard: MGA4TOO
Keywords: NEEDINFO
Depends on:
Blocks: 7861
  Show dependency treegraph
 
Reported: 2012-05-01 13:05 CEST by Jani Välimaa
Modified: 2015-09-22 19:49 CEST (History)
6 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
My .xsession-errors with debugging set on in oxygen-gtk (89.65 KB, text/plain)
2012-05-01 13:05 CEST, Jani Välimaa
Details
Screenshot (150.67 KB, image/png)
2012-05-01 13:27 CEST, Jani Välimaa
Details

Description Jani Välimaa 2012-05-01 13:05:31 CEST
Created attachment 2144 [details]
My .xsession-errors with debugging set on in oxygen-gtk

I've not set oxygen-gtk as used GTK theme in any setting and still it's used as such. Restarting xfce4-panel corrects its theme, but other parts of desktop are still using oxygen-gtk.

Dunno if this is a bug in oxygen-gtk or in Xfce, but If I uninstall oxygen-gtk and liboxygen-gtk Xfce starts with correct theme.

I've turned debugging on in oxygen-gtk if it helps somehow..
Comment 1 Jani Välimaa 2012-05-01 13:27:39 CEST
Created attachment 2145 [details]
Screenshot

Screenshot of my desktop
Manuel Hiebel 2012-05-01 22:05:53 CEST

CC: (none) => hugo, juan.baptiste

Comment 2 Hugo Pereira Da Costa 2012-05-02 10:29:34 CEST
Well, oxygen-gtk has no way to "force itself" as a widget style.
So it means that some "relic" config file still charges it.
Technically this is not an "oxygen-gtk" bug. Some (distribution related) issue with configuration files.

look into $HOME/.gtkrc* to see if it still appears somewhere.

From the first attachment, it seems it is still used by xfce4-session, xfwm4, Thunar, etc (just grep ApplicationName::initialize to see which applications initialize it)

Also, on the second attachment (screenshot), it is not clear to me *what* actually uses oxygen-gtk. (it looks rather like either Adwaita or clearlook widget style). Can you comment ? 

Cheers,

Hugo
Comment 3 Jani Välimaa 2012-05-02 16:13:13 CEST
(In reply to comment #2)
> Well, oxygen-gtk has no way to "force itself" as a widget style.
> So it means that some "relic" config file still charges it.
> Technically this is not an "oxygen-gtk" bug. Some (distribution related) issue
> with configuration files.
> 
> look into $HOME/.gtkrc* to see if it still appears somewhere.
> 

I've checked all files in $HOME many times and finally found it. Our adwaita theme pkgs comes with system wide gtkrc [1] file for GTK+2.0 and settings.ini [2] for GTK+3.0 that forces use of oxygen theme.

I've not had oxygen installed never before so I've not hit this problem until now. I guess if oxygen isn't installed, some other/fallback theme is used. This would also explain why this "problem" occurs only when oxygen-gtk is installed. 

IMHO it's a bit weird that adwaita theme forces to use another theme. 

[1] http://svnweb.mageia.org/packages/cauldron/gnome-themes-standard/current/SOURCES/gtkrc?view=markup
[2] http://svnweb.mageia.org/packages/cauldron/gnome-themes-standard/current/SOURCES/settings.ini?&view=markup
Comment 4 Jani Välimaa 2012-05-02 17:27:38 CEST
There's still something in somewhere as I removed both of those files and still oxygen get started when Xfce starts. :( I've removed all per user config files and system wide oxygen settings.
Comment 5 Marja Van Waes 2012-05-26 13:04:54 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 6 Jani Välimaa 2012-06-28 22:43:02 CEST
Closing as old.

Status: NEW => RESOLVED
Resolution: (none) => OLD

Comment 7 Atilla ÖNTAŞ 2014-01-31 18:42:44 CET
Well, there is still same thing happening in MATE. Basically, almost everything is set in order with current theme but oxygen-gtk border colors overrides current themes border color settings. 

I' m told that it is only seen Mageia, by MATE and Fedora devs. And we use both oxygen-gtk and /etc/gtk-2.0/gtkrc. Uninstalling oxygen-gtk theme fixes this issue, but removing /etc/gtk-2.0/gtkrc is not.

Status: RESOLVED => REOPENED
CC: (none) => tarakbumba
Hardware: i586 => All
Resolution: OLD => (none)
Severity: normal => major

Atilla ÖNTAŞ 2014-01-31 18:43:23 CET

Summary: oxygen-gtk overrides theme settings when starting Xfce => oxygen-gtk overrides theme settings in Xfce and Mate

Comment 8 Atilla ÖNTAŞ 2014-02-04 19:52:16 CET
New info about this issue, if i change "gtk-theme-name" to something else, say gtk-theme-name = "xl_monochrome" than window borders are displayed with correct colour. Weird...
Comment 9 Hugo Pereira Da Costa 2014-02-04 20:23:36 CET
@Atilla
Although what you report in comment 7 and 8 is likely a different issue/bug from the one originally reported, the information you provided is very usefull. Most likely it means that oxygen-gtk does not respect the color set by a custom gtkrc file (that defines the decoration colors) and forces the ones it reads from the (KDE) color palette (or its default palette, in absence of a KDE one). 

I'll investigate on that. 
Would you care file a bug upstream directly ? (https://bugs.kde.org, product oxygen, component gtk2 engine) ? That makes my life easier for bookkeeping (and the bug should not be specific to mageia anyway)

Regards,

Hugo
Comment 10 Hugo Pereira Da Costa 2014-02-04 20:24:25 CET
PS: do you know if mate decorations use gtk2 or gtk3 ?
Comment 11 Atilla ÖNTAŞ 2014-02-04 20:49:47 CET
(In reply to Hugo Pereira Da Costa from comment #10)
Mate uses gtk2. Here is the bug report you asked for:

https://bugs.kde.org/show_bug.cgi?id=330768

Hope, this issue will fixed.
Atilla ÖNTAŞ 2014-02-04 20:50:57 CET

Whiteboard: (none) => MGA4TOO

Atilla ÖNTAŞ 2014-02-11 13:01:15 CET

Blocks: (none) => 7861

Georges Eckenschwiller 2014-02-11 13:27:03 CET

CC: (none) => paiiou

Comment 12 Nic Baxter 2015-03-31 04:43:33 CEST
Is this still current?

CC: (none) => nic

Comment 13 Marja Van Waes 2015-09-22 19:49:25 CEST
(In reply to Nic Baxter from comment #12)
> Is this still current?

No reply and we no longer use Oxygen by default, closing as OLD

Status: REOPENED => RESOLVED
CC: (none) => marja11
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.