Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225603 - x11-terms/xterm-234 ctrl-rightclick fontmenu doesn't seem to work...
Summary: x11-terms/xterm-234 ctrl-rightclick fontmenu doesn't seem to work...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-09 15:55 UTC by Imre Péntek
Modified: 2009-09-25 20:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
actual screenshot (fontmenu.png,15.55 KB, image/png)
2008-06-09 15:56 UTC, Imre Péntek
Details
desired results (02.png,147.88 KB, image/png)
2008-06-09 16:13 UTC, Imre Péntek
Details
emerge --info (emergeinfo.txt,3.56 KB, text/plain)
2008-06-09 16:15 UTC, Imre Péntek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Imre Péntek 2008-06-09 15:55:59 UTC
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
Comment 1 Imre Péntek 2008-06-09 15:56:43 UTC
Created attachment 156093 [details]
actual screenshot
Comment 2 Imre Péntek 2008-06-09 16:13:40 UTC
Created attachment 156097 [details]
desired results

actual screenshot from an ubuntu desktop box, menu entries are correct, fonts used to display them may vary
Comment 3 Imre Péntek 2008-06-09 16:15:40 UTC
Created attachment 156099 [details]
emerge --info
Comment 4 Imre Péntek 2008-06-09 16:17:47 UTC
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
Comment 5 Imre Péntek 2008-06-09 16:52:14 UTC
and also, when selecting any entry in this menu, my 2008.0 only beeps, but 2007.0 was able to deal with the task.
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2008-06-09 19:27:12 UTC
Could you try 235 just to make sure?

echo =x11-terms/xterm-235 >> /etc/portage/package.keywords
emerge -va xterm
Comment 7 Imre Péntek 2008-06-09 20:40:47 UTC
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.
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2009-05-05 17:12:22 UTC
Please try with version #243 and report back.
Comment 9 Thomas Dickey 2009-05-05 20:28:02 UTC
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".
Comment 10 Imre Péntek 2009-05-09 11:24:37 UTC
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"
Comment 11 Thomas Dickey 2009-05-09 13:45:19 UTC
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).
Comment 12 Imre Péntek 2009-05-09 17:30:58 UTC
using those menuLocal commands (stated above), the problem still _does_ appear.
Comment 13 Thomas Dickey 2009-05-09 23:32:30 UTC
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".
Comment 14 Imre Péntek 2009-05-10 13:12:59 UTC
using any of the
xterm -xrm "XTerm*menuLocale: C"
xterm -xrm "*menuLocale: C"
commands generate exactly the same bug.
Comment 15 Samuli Suominen (RETIRED) gentoo-dev 2009-09-24 08:10:24 UTC
#248 in Portage, anyone available to retest if this issue is still present?
Comment 16 Rémi Cardona (RETIRED) gentoo-dev 2009-09-24 09:20:44 UTC
Please get back to us.

Thanks
Comment 17 Thomas Dickey 2009-09-25 20:12:15 UTC
I saw comments here, which may be relevant:

http://mail-index.netbsd.org/tech-x11/2009/06/07/msg000511.html