Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gtk apps : texts no more black
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
sno35
Guru
Guru


Joined: 15 May 2004
Posts: 334
Location: Paris, France

PostPosted: Sat Aug 11, 2012 5:04 pm    Post subject: gtk apps : texts no more black Reply with quote

Hi
Coming back from holidays I launched a big emerge world two days ago on my ~ppc (may be even kinda ~~ppc) with kde going 4.8.4 -> 4.8.5 (-> smth like 250 packages upgrade).
And now
- gtk apps have menu texts in lavender (or white if selected) in stead of black
- gvim normal color (that should be black on my light scheme) is white
- firefox and thunderbird show mostly white text on white background
Not that easy to read. So I am writing this on another computer, though qt apps are OK and starting a fvwm session, instead of a kde one, with a new user shows no better black writing, indicating this has surely nothing to do with kde upgrade.
I suspected the freetype upgrade but going back to previous did no better.
I then suspected xorg-server and drivers but trying to get back with them is a little harder.
Had any one a hint about that behaviour ?
Thanks in advance.
Back to top
View user's profile Send private message
smerf
l33t
l33t


Joined: 06 Nov 2004
Posts: 778
Location: Polska

PostPosted: Wed Aug 22, 2012 3:28 pm    Post subject: Reply with quote

For GTK+ 2.0 apps you can control the way the widgets look with .gtkrc-2.0 file, for example:
Code:
style "default" {
fg[NORMAL] = "#FF0000"
}

class "GtkWidget" style "default"

this makes all foreground text red... Relating to your post I would say that IMO the upgrade
installed some theme with the change you mentioned. Look for 'include' in gtkrc file.

First try to disable all theming effects.
_________________
Microsoft is not the answer, Microsoft is the question, the answer is no.
Back to top
View user's profile Send private message
sno35
Guru
Guru


Joined: 15 May 2004
Posts: 334
Location: Paris, France

PostPosted: Wed Aug 22, 2012 5:43 pm    Post subject: Reply with quote

By trying your snippet code, I found out that
menu accelerators are well displayed in the "fg[NORMAL]" color (usually black, but red in your example)
menu text color is kinda shifted :
#000000 gives smth around #ddddff
#ff0000 gives smth around #ddffff
#ffff00 gives #ffffff
#00ff00 gives smth around #ffddff
#0000ff gives ... #0000ff !!
(I write "smth around" because I use the KDE app to catch the color and with anti-alias ...)

For disabling theming effects, I don't know how to do that (I use KDE)


Last edited by sno35 on Wed Aug 22, 2012 6:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
smerf
l33t
l33t


Joined: 06 Nov 2004
Posts: 778
Location: Polska

PostPosted: Wed Aug 22, 2012 5:56 pm    Post subject: Reply with quote

By 'disabling' I mean commenting out any theme related includes in your gtkrc files.

Mine has for example: include "/usr/share/themes/Clearlooks/gtk-2.0/gtkrc"

I don't use kde so it is hard for me to give any kde-specific, detailed recipe, anyway
the idea is to get the most basic, rough look&feel without gradients, shadows, ... you get the idea.

Regarding those shifts... that's weird, but to narrow down the problem you can try disabling
any composite effects as well (better yet - all acceleration and fancy, eye-candy stuff).
_________________
Microsoft is not the answer, Microsoft is the question, the answer is no.
Back to top
View user's profile Send private message
sno35
Guru
Guru


Joined: 15 May 2004
Posts: 334
Location: Paris, France

PostPosted: Sat Aug 25, 2012 6:20 am    Post subject: Reply with quote

Reverting to xorg-server-1.12.3 got back the black in menus and gvim.
I guess I'll have to file a bug.
[EDIT]
I tried the new xorg-server-1.12.905 (instead of 904) in the hope the regression would have gone.
Half way : menu are black (OK) but gvim is still white on white :/
[EDIT2]
https://bugs.gentoo.org/show_bug.cgi?id=432698
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum