Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69938 - gnome-terminal loses lines while scrolling
Summary: gnome-terminal loses lines while scrolling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-03 05:34 UTC by Borja Pacheco
Modified: 2005-05-30 07:10 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Borja Pacheco 2004-11-03 05:34:47 UTC
I've experienced some problems with gnome-terminal since I installed gentoo for the first time.

When the terminal has several lines, and I try to go back to check previous lines (using the scroll bar only (using Shift+Pre.Page or Av.Page everything works fine)) random lines become unvisible.

The best way to make the visible again is to select all the involved lines

Reproducible: Always
Steps to Reproduce:
1. Start gnome-terminal
2. Execute something, and move the scroll-bar
3. 

Actual Results:  
Some lines dissapear

Expected Results:  
All lines should be visible

Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20041021-r0,
2.6.8.1 i686)
=================================================================
System uname: 2.6.8.1 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.6.5
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE=""
ANT_HOME="/usr/share/ant-core"
ARCH="x86"
AUTOCLEAN="yes"
BASH_ENV="/etc/spork/is/not/valid/profile.env"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CVS_RSH="ssh"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
FEATURES="autoaddcvs ccache distlocks sandbox"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
GLIBC_SSP_CHECKED="1"
GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb acl ncurses"
GUILE_LOAD_PATH="/usr/share/guile/1.6"
G_BROKEN_FILENAMES="1"
HOME="/root"
HOSTNAME="acsev-052"
INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info"
JAVAC="/opt/blackdown-jdk-1.4.2/bin/javac"
JAVA_HOME="/opt/blackdown-jdk-1.4.2"
JDK_HOME="/opt/blackdown-jdk-1.4.2"
KDEDIR="/usr/kde/3.3"
KDEDIRS="/usr"
KDE_MALLOC="1"
LESS="-R"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="root"
MAIL="/root/"
MAKEOPTS="-j2"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man:/usr/local/share/man:/usr/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man::/opt/blackdown-jdk-1.4.2/man:/usr/qt/3/doc/man:/opt/blackdown-jdk-1.4.2/man:/usr/qt/3/doc/man"
MOZILLA_FIVE_HOME="/usr/lib/mozilla"
NOCOLOR="false"
OLDPWD="/var/spool"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.2/bin:/opt/blackdown-jdk-1.4.2/jre/bin:/usr/qt/3/bin:/usr/kde/3.3/sbin:/usr/kde/3.3/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 mips ppc ppc64 ppc-macos s390 sh
sparc x86 x86-obsd x86-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="19795"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK=""
PWD="/var"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SHELL="/bin/bash"
SHLVL="1"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
TERM="xterm"
USE="X apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups dvd dvdr encode
esd f77 foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg
ldap libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl
oss pam pdflib perl png python quicktime readline samba sdl slang snmp spell ssl
svg svga tcltk tcpd tiff truetype wmf x86 xml2 xmms xv zlib"
USER="root"
USERLAND="GNU"
USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS"
XARGS="xargs -r"
XINITRC="/etc/X11/xinit/xinitrc"
_="/usr/bin/emerge"
Comment 1 Jacobo Cabaleiro 2004-12-02 09:37:15 UTC
Same here. 

In my case the steps to reproduce are:
1.) Open a gnome-terminal.
2.) Maximize WINDOW (if it's not maximized I don't lose lines)
3.) Fill the terminal with text (dmesg will do the work).
4.) Scroll back using the scrollbar.
5.) Scroll down again to see the prompt SLOWLY.

Randomly, lines will we blanked.

If the scroll down is done quickly, no lines are lost at all!!

I see this bug was entered last month. Rebuilt the system recently. Using currently:

Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-rc2 i686)
=================================================================
System uname: 2.6.10-rc2 i686 Intel(R) Pentium(R) 4 CPU 1600MHz
Gentoo Base System version 1.6.6
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
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="X acpi alsa apache2 avi berkdb bitmap-fonts bmp cdr crypt cscope cups dmx dvd emacs encode exif f77 fam flac font-server foomaticdb fortran gdbm gif gmp gnome gpm gstreamer gtk gtk2 imlib jabber jpeg libg++ libwww mad mikmod mime mmx mng motif mpeg ncurses network nls nosendmail nptl nptlonly offensive oggvorbis opengl pam pdflib pic png quicktime readline real rtc scanner slang speex spell sse ssl svg tcltk tcpd theora tidy tiff truetype truetype-fonts unicode usb wmf x86 xml xml2 xpm xprint xv xvid xvmc zlib"

Gnome-terminal:
x11-terms/gnome-terminal-2.8.0
(old version 2.7.3 had the same problem)

Possible related packages:
x11-libs/gtk+-2.4.13-r1
x11-base/xorg-x11-6.8.0-r3
media-video/nvidia-kernel-1.0.6629

Important: the original reporter seems to be a Spanish user (just like me). I have set LC_ALL and LC_LANG to "es_ES.UTF-8"
Comment 2 Borja Pacheco 2004-12-02 09:57:20 UTC
You are right!

a) You have explained perfectly how to reproduce the failure. It's the same for me ( I didn't notice about maximized terminal because I always preload it this way.
b) I've built my system recently, and gnome-terminal was always wrong. I guess it's an issue with gentoo, not with gnome-terminal, because under Debian it worked fine...
c) I'm a Spanish user, and my locales are:
LANG=es_ES.UTF-8
LC_CTYPE="es_ES.UTF-8"
LC_NUMERIC="es_ES.UTF-8"
LC_TIME="es_ES.UTF-8"
LC_COLLATE="es_ES.UTF-8"
LC_MONETARY="es_ES.UTF-8"
LC_MESSAGES="es_ES.UTF-8"
LC_PAPER="es_ES.UTF-8"
LC_NAME="es_ES.UTF-8"
LC_ADDRESS="es_ES.UTF-8"
LC_TELEPHONE="es_ES.UTF-8"
LC_MEASUREMENT="es_ES.UTF-8"
LC_IDENTIFICATION="es_ES.UTF-8"
LC_ALL=
d) Have ever you noticed some extrange behavior using text consoles with characters, too?? Is this related to?
Comment 3 Christophe 2005-04-22 11:59:46 UTC
Same on all my 3 systems. Still there in Gnome 2.10 !!

I would raise from minor to normal severity.. the degree at which each computer is affected is variable. But on one of them, I can barely use the terminal. 
Comment 4 SpanKY gentoo-dev 2005-05-04 16:19:44 UTC
try doing `export TERM=gnome` in the terminal and then see if your applications lose random lines still
Comment 5 Leonardo Boshell (RETIRED) gentoo-dev 2005-05-30 01:15:49 UTC
Reporters,
What version of x11-libs/vte do you have installed?

Also, could the people who experience this bug search in Gnome's bugzilla for a
similar report? I think this may be related:
http://bugzilla.gnome.org/show_bug.cgi?id=122150

If that's the case, vte has included a patch for it since vte-0.11.11-r2.ebuild.
Have you tested it?

Finally, for the people who have posted "me too" comments (or are tempted to do
so in the future), please include useful information, such as your "emerge info"
(which, by the way you should always include in bug reports).
Comment 6 Borja Pacheco 2005-05-30 07:10:18 UTC
Hi Leonardo,

I finally decide to be patience, and I kept on using gnome-terminal. One happy
day the bug stopped, but I'm not able to say you if it happened when I changed
my vte libs (I use to update very frecuently).

In any case:
a) Now it works fine
b) My vte is....
[ I] x11-libs/vte (0.11.12):  Xft powered terminal widget

I'm sorry for not marking this as fixed.

Regards.