For a while now I have had some graphical glitches in xterm. It seems to be related with redrawing, but issues also arise in ncurses applications. I have attached a screenshot (also mirrored at http://www.aphax.nl/images/xtermbug.png) In the topleft terminal, the kernel configuration menu is shown as it is drawn initially, in the terminal below it it shown after I've dragged another window over the left side, which forces it to be redrawn and makes everything show up correctly. The topright terminal shows 'bmon', the quit confirmation dialog stretches all the way to the right, it's supposed to be centered (dragging something over the right part of that erminal makes it show up correctly as well). This bug may seem similar to bug#142198, but I believe it is a different one since I do not use the -Os flag, and this bug has also shown up before I reinstalled my Gentoo system when I was still using GCC < 4.1.1. Here's my emerge --info: Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686) ================================================================= System uname: 2.6.17-gentoo-r7 i686 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.12.4 Last Sync: Sat, 09 Sep 2006 11:30:01 +0000 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo " LINGUAS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X alsa avi berkdb bitmap-fonts cairo cdr cli crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux libg++ mad mikmod mmx mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl oss pam pcre pdflib perl png ppds pppd python quicktime readline reflection samba sdl session spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa vorbis win32codecs wxwindows xml xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Please, attach the screenshots here. I gets extremely annoying when someone hits the bug couple of weeks later only to find out that the links are 404.
Created attachment 96622 [details] Screenshot of xterm redrawing issues I knew I forgot something
The -Os flag is a different issue (for whatever reason, current code in xterm exposes a gcc bug). Since #142198 is essentially saying that there are problems with either xterm handling exposure events, or the X server, this probably should be merged.
I just recompiled xterm without truetype support and this time the redwrawing issues don't show up
Fixed in xterm #223.
Thanks Thomas! Added 223 to portage.
(In reply to comment #5) > Fixed in xterm #223. Thanks!