It used to work in 2007.0, but now I run 2008.0 all xterm instances print to stderr when first invoking this menu: Warning: Missing charsets in String to FontSet conversion Reproducible: Always
Created attachment 156093 [details] actual screenshot
Created attachment 156097 [details] desired results actual screenshot from an ubuntu desktop box, menu entries are correct, fonts used to display them may vary
Created attachment 156099 [details] emerge --info
imi@boborjan ~ $ eix -e xterm [I] x11-terms/xterm Available versions: 229 232 234 ~235 {Xaw3d paste64 toolbar truetype unicode} Installed versions: 234(15.05.39 2008-06-09)(paste64 truetype unicode -Xaw3d -toolbar) Homepage: http://dickey.his.com/xterm/ Description: Terminal Emulator for X Windows imi@boborjan ~ $ no matter if I disable paste64, using the toolbar has the same result
and also, when selecting any entry in this menu, my 2008.0 only beeps, but 2007.0 was able to deal with the task.
Could you try 235 just to make sure? echo =x11-terms/xterm-235 >> /etc/portage/package.keywords emerge -va xterm
the bug is still present. I was wondering whether it is really about 2007.0 vs 2008.0, I am not sure, but this output may also show that fontconfig use flag couldn't cause this bug. Am I right? boborjan ~ # emerge --update --deep --newuse --verbose --pretend world These are the packages that would be merged, in order: Calculating dependencies... done! Total: 0 packages, Size of downloads: 0 kB boborjan ~ # USE=-fontconfig emerge --update --deep --newuse --verbose --pretend world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-libs/gd-2.0.35 USE="jpeg png truetype -fontconfig* -xpm" 1,185 kB [ebuild R ] media-gfx/imagemagick-6.3.8.3-r1 USE="X bzip2 jpeg perl png svg tiff truetype xml zlib -djvu -doc -fontconfig* -fpx -graphviz -gs -hdri -jbig -jpeg2k -lcms -nocxx -openexr -q32 -q8 -wmf" 8,587 kB Total: 2 packages (2 reinstalls), Size of downloads: 9,771 kB boborjan ~ # eix media-libs/gd [I] media-libs/gd Available versions: (2) 2.0.34 2.0.35 {fontconfig jpeg png truetype xpm} Installed versions: 2.0.35(2)(02.03.10 2008-06-07)(fontconfig jpeg png truetype -xpm) Homepage: http://libgd.org/ Description: A graphics library for fast image creation boborjan ~ # eix media-gfx/imagemagick [I] media-gfx/imagemagick Available versions: 6.3.3 ~6.3.4 6.3.5.10 6.3.8.3-r1 ~6.4.0.6 ~6.4.1.3 {X bzip2 djvu doc fontconfig fpx graphviz gs hdri jbig jpeg jpeg2k lcms mpeg nocxx openexr perl png q32 q8 svg tiff truetype wmf xml zlib} Installed versions: 6.3.8.3-r1(19.32.39 2008-05-31)(X bzip2 fontconfig jpeg perl png svg tiff truetype xml zlib -djvu -doc -fpx -graphviz -gs -hdri -jbig -jpeg2k -lcms -nocxx -openexr -q32 -q8 -wmf) Homepage: http://www.imagemagick.org/ Description: A collection of tools and libraries for many image formats boborjan ~ # eix -e xterm [I] x11-terms/xterm Available versions: 229 232 234 (~)235 {Xaw3d paste64 toolbar truetype unicode} Installed versions: 235(22.25.09 2008-06-09)(paste64 truetype unicode -Xaw3d -toolbar) Homepage: http://dickey.his.com/xterm/ Description: Terminal Emulator for X Windows boborjan ~ # thank you for supporting my bug.
Please try with version #243 and report back.
The Xaw initialization falls into a design blackhole which tries to load fontsets (even though the library uses very little of it). You might be able to make the warning go away using the "menuLocale" resource (see xterm manual), setting it to "C".
imi@boborjan ~ $ eix -e xterm [D] x11-terms/xterm Available versions: 229 235 237 239 ~241 {Xaw3d paste64 toolbar truetype unicode} Installed versions: 242(15.34.02 2009-05-08)(truetype unicode -Xaw3d -toolbar) Homepage: http://dickey.his.com/xterm/ Description: Terminal Emulator for X Windows It seems like on amd64 -243 is unavailable yet. however on -242 the bug can be reproduced, also when XTerm is started like: xterm -xrm "XTerm.menuLocale: C" xterm -xrm "menuLocale: C"
It sounds as if you're agreeing that using the menuLocale resource makes the problem not appear. (The problem itself is in the X fonts or locale configuration).
using those menuLocal commands (stated above), the problem still _does_ appear.
oh.. looking closer: the example you gave doesn't use a proper pattern. I'd expect something like xterm -xrm "XTerm*menuLocale: C" xterm -xrm "*menuLocale: C" The first pattern used a ".", which would not work if xterm is compiled with the toolbar (which GenToo does). The second pattern, lacking an "*" would only match applications named "menuLocale".
using any of the xterm -xrm "XTerm*menuLocale: C" xterm -xrm "*menuLocale: C" commands generate exactly the same bug.
#248 in Portage, anyone available to retest if this issue is still present?
Please get back to us. Thanks
I saw comments here, which may be relevant: http://mail-index.netbsd.org/tech-x11/2009/06/07/msg000511.html