Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 113592

Summary: x11-terms/xterm-204 - Ctrl+Click in a uxterm window causes it to hang/freeze for about 15 seconds (CPU usage almost 100%)
Product: Gentoo Linux Reporter: Andy <andyreif>
Component: [OLD] UnspecifiedAssignee: Emanuele Giaquinta (RETIRED) <exg>
Status: RESOLVED FIXED    
Severity: normal CC: dickey
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andy 2005-11-25 14:48:08 UTC
To change options of an (u)xterm window you can press Ctrl+(Left|Middle|Right) 
Mouse Button. If doing this in the uxterm the first time, it causes it to 
freeze. This doesn't happen in an xterm window. 
 
emerge -pv xterm 
[ebuild   R   ] x11-terms/xterm-204  -Xaw3d -toolbar +truetype +unicode 0 kB  
 

Reproducible: Always
Steps to Reproduce:
1. Start uxterm.  
2. Point your mouse pointer into its window, hold Ctrl key and press for  
example the left mouse button.  
 
Actual Results:  
The uxterm window freezes for some time, it isn't redrawn in this time and  
doesn't react.  
  

Expected Results:  
The "Main Options" pop-up window should appear. 

Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 
2.6.1 
2-gentoo-r6 i686) 
================================================================= 
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz 
Gentoo Base System version 1.6.13 
ccache version 2.3 [disabled] 
dev-lang/python:     2.3.5, 2.4.2 
sys-apps/sandbox:    1.2.12 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O2 -march=pentium4" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share 
/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/ 
mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/sh 
are/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/te 
x/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=pentium4" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict userfetch userpriv 
userpri 
v_fakeroot usersandbox" 
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ 
ftp:/ 
/linux.rz.ruhr-uni-bochum.de/gentoo-mirror/" 
LINGUAS="en en_US de ru" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 X aalib acl alsa apache2 apm arts artswrappersuid audiofile avi 
berkdb  
bitmap-fonts bzip2 cdparanoia cdr crypt cups curl divx4linux doc dts dvd dvdr 
dv 
dread eds emacs emboss encode esd exif expat f77 fam ffmpeg flac foomaticdb 
fort 
ran gd gdbm gif gimpprint glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 idn 
imag 
emagick imap imlib ipv6 jack java jpeg jpeg2k junit kde lcms ldap libg++ 
libwww  
lirc live mad matroska mhash mikmod mmx mng motif mozcalendar mozdevelop 
mozilla 
 mozsvg mp3 mpeg mysql mythtv nas ncurses nls objc ogg oggvorbis openal opengl 
o 
ss pam pcre pdflib perl png ppds python qt quicktime readline real recode ruby 
s 
canner sdl spell sqlite sse ssl svga tcltk tcpd tetex tiff truetype 
truetype-fon 
ts type1-fonts udev unicode usb v4l v4l2 vorbis win32codecs wmf xine xml2 xmms 
x 
print xv xvid zlib video_cards_radeon linguas_en linguas_en_US linguas_de 
lingua 
s_ru userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Thomas Dickey 2005-11-26 05:34:24 UTC
The underlying problem is that Xaw library isn't handling
the iso10646 fonts well.  I considered setting the menu
fonts to "fixed" in the app-defaults file, but that would
create as many problems as it would fix.  Most of the complaints
about this were with the initialization of all menus on startup,
and _that_ I improved in #206:
fix GenToo #90697 a different way, postponing the logic in SetupToolbar until 
the toolbar is actually needed, i.e., the +tb option is handled as expected.
Comment 2 Emanuele Giaquinta (RETIRED) gentoo-dev 2006-05-30 15:37:37 UTC
Closing, as this is fixed.