Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123008 - Konsole history is blank when konsole is loaded from a saved KDE session
Summary: Konsole history is blank when konsole is loaded from a saved KDE session
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-16 02:45 UTC by Scott Thomson
Modified: 2006-05-07 11:25 UTC (History)
2 users (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 Scott Thomson 2006-02-16 02:45:12 UTC
I have KDE set up to always load a saved session on log-in which has a konsole with several open tabs. When using any tab in the konsole window and the tab has scrolled - any earlier text in the scrolled portion disapears, however there is still blank space where the text would have been. If I open a konsole from scratch and setup the multiple tabs the problem does not occur.

This is always reproducable.

Steps to reproduce
------------------
1. Save a KDE session with an open konsole.
2. Log out.
3. Log in.
4. Execute a command with voluminous output.
5. Scroll up and find that the text not visible has disappeared.

Versions
--------
kde-base/konsole-3.5.1  +arts -debug +kdeenablefinal +kdexdeltas -xinerama
app-shells/zsh-4.2.5  -cap -doc -maildir +ncurses +pcre -static

$ emerge info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Intel(R) Celeron(R) CPU 2.66GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 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.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -fomit-frame-pointer -fno-ident -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -fno-ident -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirrors.blueyonder.co.uk/mirrors/gentoo ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa arts asf audiofile avi berkdb bitmap-fonts bzip2 cairo cdr crypt cups dbus dvd dvdr emacs encode exif expat fam ffmpeg foomaticdb fortran gdbm gif gmp gpm gtk2 hal idn imlib java jpeg kde kdeenablefinal kdexdeltas lcms libg++ libwww mad mikmod mmx mng mp3 mpeg mplayer mpm-worker musicbrainz mysql ncurses nls nptl nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl pic png python qt quicktime readline samba sdl spell sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis win32codecs xine xml2 xv zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 radfoj 2006-02-16 07:06:38 UTC
Hi, exactly same here after upgrade to kde-3.5.1

I found also another steps to reproduce loosing history:

1) open Konsole with 2(or 3) tabs and click "save session profile" (or something similar) and close it (e.g. save as 3)

2)  then in another console open this profile with  "konsole --profile 3", it produces this warnings: 

konsole: WARNING: Unable to use /usr/kde/3.5/share/apps/konsole/screen.desktop

But console is opened with 2(3) tabs as expected.

3) type some command like "locate bz"

and scrolling up for result gives nothing - only blank.

In console I opened the profile 3 from, there are hundrets messages like this:

QGVector::insert: Index 0 out of range
QBitArray::clearBit: Index 0 out of range
QBitArray::clearBit: Index 0 out of range
QGVector::insert: Index 0 out of range
QBitArray::clearBit: Index 0 out of range
QBitArray::clearBit: Index 0 out of range
QGVector::insert: Index 0 out of range
QBitArray::clearBit: Index 0 out of range
QBitArray::clearBit: Index 0 out of range

My emerge info:

Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-ck1
i686)
=================================================================
System uname: 2.6.15-ck1 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.14
dev-lang/python:     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.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer"
DISTDIR="/mnt/mandrake/opt/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="cs_CZ"
LDFLAGS="-Wl,-O1"
LINGUAS="cs"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mirror.gentoo.sk/gentoo-portage"
USE="x86 3dnow X aac acpi alsa apache2 asf audiofile avi bash-completion berkdb
bitmap-fonts bmp bzip2 cairo cdparanoia cdr crypt cups curl dbus dts dvd
dvdread emboss encode exif expat ffmpeg firefox flac flash foomaticdb fortran
ftp gd gdbm gif glut gmp gpm gstreamer gtk hal iconv icq idn imagemagick imlib
jabber java jpeg kde kdeenablefinal lcms libg++ libwww mad maildir mbox mikmod
mime mmx mng motif moznoirc moznomail mozsvg mp3 mpeg msn mysql nas ncurses nls
nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl oscar oss pam pcre
pdflib perl php pic png python qt quicktime readline recode ruby sdl slang
sndfile speex spell ssl svg tcltk tcpd theora tiff truetype truetype-fonts
type1-fonts udev usb vorbis win32codecs xine xml xml2 xosd xprint xv xvid zlib
linguas_cs userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL
Comment 2 radfoj 2006-02-24 07:04:32 UTC
I found it also in KDE bugzilla - http://bugs.kde.org/show_bug.cgi?id=122019

Setting Konsole History from unlimited to anything different (10000000) did the trick. Not I am loosing only the first line: 

radfoj@radfoj radfoj $
Comment 3 radfoj 2006-02-24 07:06:37 UTC
(In reply to comment #2)
> Not I am loosing only the first line: 

Sorry, it should be "Now I am loosing"
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2006-05-07 11:25:42 UTC
Accrding to the upstream bug this is fixed in KDE 3.5.2.