Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
<SOLVED> no text in some older gtk apps
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
pjv
Guru
Guru


Joined: 02 Jul 2003
Posts: 353
Location: Belgium

PostPosted: Mon Nov 15, 2004 3:10 pm    Post subject: <SOLVED> no text in some older gtk apps Reply with quote

After a recent update (it might have been the update to gnome 2.8 or something else, I can't determine), the text in some of my apps has disappeared. This means the windows still show like they used to, but now with empty (and thus smaller; sizes are adjusted) buttons, widgets, etc. I only get this in a few old gtk+1 apps, like xmms (but not the themed main screen) and usbview. Comparing the dependencies of those programs I would think the problem lies with gtk+ and it's libraries, and not so much with internationalization of the messages (ntl, gettext) and things like that. Anyone have a clue?

Thx


Last edited by pjv on Tue Nov 23, 2004 6:20 pm; edited 2 times in total
Back to top
View user's profile Send private message
MagnusBerg
Guru
Guru


Joined: 07 Oct 2003
Posts: 370
Location: Burgsvik, Gotland, Sweden

PostPosted: Mon Nov 15, 2004 4:11 pm    Post subject: Reply with quote

Can the fonts you chose been removed???
Try some other fonts in the XMMS setup.
Back to top
View user's profile Send private message
pjv
Guru
Guru


Joined: 02 Jul 2003
Posts: 353
Location: Belgium

PostPosted: Mon Nov 15, 2004 6:42 pm    Post subject: Reply with quote

I don't think that is the problem. For the xmms case everything is there in the mainwindow, the playlist and the equalizer. But when I push the O for options I get the menu in which are only (on the right side) the keyboardshortcuts, e.g. Ctl+p. However the normal titles on the left are missing. I've looked in the config and it should use helvetica and misc-fixed and things like that. But I'm quite sure these fonts are in some parts of the piece that IS visible (the shortcuts are in helvetica I think, so why isn't the rest showing?).
Back to top
View user's profile Send private message
pjv
Guru
Guru


Joined: 02 Jul 2003
Posts: 353
Location: Belgium

PostPosted: Mon Nov 15, 2004 6:51 pm    Post subject: Reply with quote

Hmm, I think I might know now what causes this. I recently followed the tip from the GWN to delete the locales that you don't need. However I kept alot of obvious locale's (EN and dutch,...). Btw gmplayer now has this too. Anyone know how I can check if this is the problem? And anyone know which locale's xmms, gmplayer use by default?
Back to top
View user's profile Send private message
pjv
Guru
Guru


Joined: 02 Jul 2003
Posts: 353
Location: Belgium

PostPosted: Mon Nov 22, 2004 1:45 pm    Post subject: Reply with quote

I have not been able to resolve my problems yet. My own previous suggestion didn't help me to advance. Here's a summary again:

Problem: No text in menu's of gtk1 apps!! (xmms, gmplayer, usbview, ...)
I uploaded a screenshot: screenshot.png

Possible cause:
- International translations gone wrong, XMMS normally was in English not Dutch? Something to do with ntl?
- Fonts missing (checked as good as I can and seems to be ok)

Possibly related problems:
I'm not able to type like I used to. I use my own XKB maps and set these in xorg.conf and gconf. I also use my own Compose maps at /usr/X11R6/lib/X11/locale/iso8859-15/Compose. For this I use XIM through 'export GTK_IM_MODULE="xim"'. But now my Compose map seems to have stopped functioning allthough it is still in place ok. Did something change for XIM in gnome 2.8?

Possible indirect causes:
- update of gnome to 2.8
- update of xfree to xorg
- did I recently start to emerge with "+unicode" flag on?
- did the locale setting change for some reason?
- deletion of some unnecessary locale's (following tip from GWN)

The main question is why did this stop working (I used to have a perfectly well-working setup)... Please help if you have an idea!
Back to top
View user's profile Send private message
pjv
Guru
Guru


Joined: 02 Jul 2003
Posts: 353
Location: Belgium

PostPosted: Mon Nov 22, 2004 10:13 pm    Post subject: Reply with quote

Hmm, main problem solved by remerging glibc without userlocales use flag. Is this a bug in the tip from GWN. Heck they even suggest this to users installing Gentoo the first time! And I thought I had all needed locale's and more:

Code:
/etc/locales.build:

# This file names the list of locales to be built when glibc is installed.
# The format is <locale>/<charmap>, where <locale> is a locale from the
# /usr/share/i18n/locales directory, and <charmap> is name of one of the files
# in /usr/share/i18n/charmaps/. All blank lines and lines starting with # are
# ignored. Here is an example:
# en_US/ISO-8859-1

en_US/ISO-8859-1
en_US/ISO-8859-15
en_US.UTF-8/UTF-8
ja_JP.EUC-JP/EUC-JP
ja_JP.UTF-8/UTF-8
ja_JP/EUC-JP
en_HK/ISO-8859-1
en_PH/ISO-8859-1
de_DE/ISO-8859-1
de_DE@euro/ISO-8859-15
es_MX/ISO-8859-1
fa_IR/UTF-8
fr_FR/ISO-8859-1
fr_FR@euro/ISO-8859-15
it_IT/ISO-8859-1

de_BE/ISO-8859-15
de_BE@euro/ISO-8859-15
en_IE/ISO-8859-15
en_IE@euro/ISO-8859-15
fr_BE/ISO-8859-15
fr_BE@euro/ISO-8859-15
nl_BE/ISO-8859-1
nl_BE@euro/ISO-8859-1
nl_BE/ISO-8859-15
nl_BE@euro/ISO-8859-15
nl_BE/UTF-8
nl_BE@euro/UTF-8
nl_NL/ISO-8859-15
nl_NL@euro/ISO-8859-15
wa_BE/ISO-8859-15
wa_BE@euro/ISO-8859-15


Now, it's ofcourse true that xmms and the rest never have been in my locale, but in English. Apparently not en_US then?!

My "related" problem is still not solved. Guess, it's not related, heh :-( Anyhow I think this has to do with some change in gnome 2.8 and XIM. If I right-click in a text window and choose "Input method > standard" instead of X Input Method, it works perfectly. But how can I set this default??
Back to top
View user's profile Send private message
pjv
Guru
Guru


Joined: 02 Jul 2003
Posts: 353
Location: Belgium

PostPosted: Tue Nov 23, 2004 6:20 pm    Post subject: Reply with quote

Hmm, now all of the sudden my keyboard works again too! I have no idea how I did this (ok I tried some things but they didn't give me an instant effect and I didn't count on them to really work). Well, all solved , for now...
Back to top
View user's profile Send private message
Meaulnes
n00b
n00b


Joined: 15 Mar 2004
Posts: 49

PostPosted: Wed Nov 24, 2004 7:23 pm    Post subject: Reply with quote

I am having the same problem with the fonts in the GTk apps (I also have a screen shot at
http://infamous.org/X_font_screenshot.jpg ). I have tried (3x to be exact) what you said about rebuilding glibc with -userlocales and all to no avail. After the last re-emerge of glibc I rebuilt my kernel, then rebooted to it, and then did emerge -e world and those apps still are showing up wrong.

:x

This has been going on for a couple of weeks now and I guess that I will be reverting back to xfree-x11 this coming weekend ....
Back to top
View user's profile Send private message
pjv
Guru
Guru


Joined: 02 Jul 2003
Posts: 353
Location: Belgium

PostPosted: Thu Nov 25, 2004 6:07 pm    Post subject: Reply with quote

Hmm, seems to me you have some other problem because with you some font rectangles are showing up. You might wanna follow MagnusBerg's advice this time and see if all your font settings are ok.
Back to top
View user's profile Send private message
pjv
Guru
Guru


Joined: 02 Jul 2003
Posts: 353
Location: Belgium

PostPosted: Sun Dec 12, 2004 10:18 pm    Post subject: Reply with quote

About the keymaps if anyone cares:

One of the reasons was that I had
Code:
CONFIG_PROTECT="/usr/X11R6/lib/X11/locale/iso8859-15/Compose"

amongst other things in my /etc/make.conf to stop my personalised Compose maps from being overridden on updates. However it now seems that emerge writes to
Code:
/usr/lib/X11/locale/iso8859-15/Compose
(in which X11 is a symlink) so config_protect doesn't jump in! Crazy shit ;-)

Just posting this, might be helpfull sometimes.
Goodbye,
pjv
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Wed Dec 15, 2004 2:56 pm    Post subject: Reply with quote

Yeh , seems like this "tip" is not so hot!

I trimmed mine down to en_GB and fr_FR .

Now if I run usbview in English I get blank buttons and if I set my locale to French and I get text on the buttons ... in English!


My guess is wants no "locale" at all.

In any case it seems to be a bug in glibc more that the progs using that lib.

Can you remember where that so called tip was posted , I'd like to warn others.

8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
pjv
Guru
Guru


Joined: 02 Jul 2003
Posts: 353
Location: Belgium

PostPosted: Thu Dec 16, 2004 1:56 pm    Post subject: Reply with quote

See also this.

The tip was here, in the GWN's tips and tricks section.
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