Bug 6646

Summary: [oxygen-gtk] Gtk menu font color
Product: Mageia Reporter: Raphael Groner <raphgro>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Normal CC: hugo.pereira
Version: CauldronKeywords: NEEDINFO
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: oxygen-gtk-1.2.5-1.mga3 CVE:
Status comment:
Attachments: menu of claws-mail notification icon
Xfce's panel menu

Description Raphael Groner 2012-07-01 11:24:59 CEST
Description of problem:
Gtk menus are rendered with bad grey or transparent colors since a recent update that I can't identify. Maybe it's libdrm, dunno. See attached sample screen shots. The font should be black, so how it gets when I moved the mouse over those menu items. 

Version-Release number of selected component (if applicable):


How reproducible:
yes

Steps to Reproduce:
1. open any Gtk menu
2.
3.
Comment 1 Raphael Groner 2012-07-01 11:25:56 CEST
Created attachment 2514 [details]
menu of claws-mail notification icon
Comment 2 Raphael Groner 2012-07-01 11:26:25 CEST
Created attachment 2515 [details]
Xfce's panel menu
Comment 3 Raphael Groner 2012-07-01 11:32:37 CEST
Well, if composition is disabled in Xfce's settings, menus are shown well, but of course without transparency.


$ lspci |grep VGA
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller (rev 02)

$ urpmq -r x11-driver-video-intel libdrm2
libdrm2-2.4.37-2.mga3
x11-driver-video-intel-2.19.0-8.mga3
Comment 4 Raphael Groner 2012-07-01 11:43:24 CEST
I detected that it happens only when the theme oxygen-gtk is active for Xfce.

Summary: Gtk menu font color => [oxygen-gtk] Gtk menu font color
Source RPM: (none) => oxygen-gtk-1.2.5-1.mga3

Manuel Hiebel 2012-07-01 21:46:18 CEST

CC: (none) => hugo, jani.valimaa

Jani Välimaa 2012-07-01 21:47:53 CEST

CC: jani.valimaa => (none)

Comment 5 Raphael Groner 2012-07-01 22:01:44 CEST
I think this is a release blocker due to the fact that the theme is unusable with that broken rendering.

Again: It happens only if composition is enabledand only with oxygen-gtk as the active theme, in Xfce. I can't say anything about KDE, Gnome, etc.

Priority: Normal => release_blocker

Comment 6 Hugo Pereira Da Costa 2012-07-01 22:08:46 CEST
I'll look into it. I think it is a conflict between the use of ARGB by xfce to enable menu transparency, and the way oxygen gtk uses ARGB to have bevel corners.
I have no idea of xfce's way to achieve transparency :(
Comment 7 Hugo Pereira Da Costa 2012-07-01 22:11:09 CEST
What happens if you disable transparency in xfce, (rendering things "opaque") without turning off compositing
Comment 8 Hugo Pereira Da Costa 2012-07-01 22:13:19 CEST
PS: conflict means: might not mean that it is oxygen-gtk's fault but possibly xfce.
Meaning: oxygen-gtk does not have this issue on any other desktop environment (kde, gnome, as far as I know).
Also: what is your graphics card.
Also: can anybody reproduce with a different graphics card
Comment 9 Hugo Pereira Da Costa 2012-07-01 22:25:37 CEST
I know nothing about xfce. How to I enable compositing and transparency ?

It seems here this (compositing) is not the default.
... so that I would not call it a release blocker, since the default appears perfectly usable here.
Comment 10 Raphael Groner 2012-07-01 22:34:59 CEST
(In reply to comment #7)
> What happens if you disable transparency in xfce, (rendering things "opaque")
> without turning off compositing
I played with the various transparency settings of Xfce, it doesn't change anything to the broken oxygen menu rendering. But a disabled composition fixes it (removing the checkbox marker).
It could well be that there's some conflict in the logic.

(In reply to comment #8)
> Also: what is your graphics card.
see comment #3
Comment 11 Hugo Pereira Da Costa 2012-07-01 22:41:28 CEST
ok. So in the end, I enabled transparency (window manager tweaks) and cannot reproduce. See: http://imagebin.org/219114

My GC is intel also (sorry if I missed comment #3 first).

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)

x11-driver-video-intel-2.19.0-2.mga2
libdrm_intel1-2.4.33-1.mga2
vaapi-driver-intel-1.0.15-2.mga2

I think the release blocker flag should be removed (sorry). And I would close as upstream. Not much
Comment 12 Raphael Groner 2012-07-01 22:46:25 CEST
(In reply to comment #9)
> I know nothing about xfce. How to I enable compositing and transparency ?
$ xfconf-query -T -c xfwm4 -p /general/use_compositing
Comment 13 Raphael Groner 2012-07-01 22:48:52 CEST
(In reply to comment #11)
It's Cauldron (mga3 packages) here. You seem to test with mga2 packages.
Comment 14 Hugo Pereira Da Costa 2012-07-01 22:51:36 CEST
... that is correct. (sorry missed that too)
But I have latest oxygen (from git).
I'd recommand you try roll back intel drivers
Comment 15 Hugo Pereira Da Costa 2012-07-01 23:08:02 CEST
... meant: "not much I (oxygen-gtk dev) can do about it on oxygen-gtk's side"
Comment 16 Manuel Hiebel 2012-11-24 18:58:32 CET
what is the status of this bug ?

also, is it really a blocker one ?

Keywords: (none) => NEEDINFO

Comment 17 Raphael Groner 2012-11-25 13:56:30 CET
Thanks for your questions. Sorry, I've forgotten this bug.

Due to the fact that I've given up with doing some further testing, I'll close this bug.

Priority: release_blocker => Normal
Status: NEW => RESOLVED
Resolution: (none) => WONTFIX
Severity: major => normal