Bug 52571 - scrolling thru a man page mucks up the text
Summary: scrolling thru a man page mucks up the text
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.2
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 58433 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-01-03 20:58 UTC by etkopa
Modified: 2005-03-29 07:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cjb 2003-01-03 20:58:36 UTC
Version:           1.2 (using KDE 3.1.0 (RC5))
Installed from:    compiled sources
Compiler:          gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
OS:          Linux (i686) release 2.4.18-14

when i bring up a man page in the konsole and scroll thru it, the text gets messed up.  it leaves bits and piece of the old text everywhere.  its kinda hard for me to describe, but i could send a screenshot if someone would tell me how to take a screenshotand where to send it.

i would like to note that i'm using redhat 8.0 with qt-3.1.1 with anti aliased fonts.  to get qt-3.1.1 to compile with xft support on my redhat 8.0 system, i had to do this:

1. Edit $QTDIR/config.tests/x11/xfreetype.test as follows:
      Change line 40 to read:
            LIBS="Xft2"
     without which it tries to link with "-lXft" instead of "-lXft2"
       Change line 55 to read:
            LIBXFT="-l$F -lfreetype -lfontconfig"
      without which it tries to link without the fontconfig library.
2. Run the configure script with  "-I/usr/include/Xft2 -xft" in addition 
to any other args you need.
 From there on it worked for me per the normal build instructions.

i don't know if that matters or if it messed anything up that has to do with fonts or what.

thanks for the help,
christopher
Comment 1 Stephan Binner 2003-05-17 13:21:20 UTC
*** Bug 58433 has been marked as a duplicate of this bug. ***
Comment 2 Matt Rosin 2003-06-15 10:12:31 UTC
I would like to confirm this kind of problem, not just for man viewer.
I also have a clue as to where the problem is. Screendump <a 
href=http://telebody.com/konsoledump.gif>provided</a>. The dump is so-so, 
actually if you hit return many times you usually see a trail of slices of 
characters going up the screen.
<P>
I am using Redhat 9, and this happens when antialiasing is turned on (through 
the antialiasing control panel found from the Gnome desktop; don't know how to 
get to it from KDE desktop). I got so frustrated I turned off antialiasing 
however Konsole still has this kind of problem.
<P>
The problem is that when you scroll the page by hitting return or producing 
long output, not all pixels are scrolled up. It seems that konsole must only 
scroll up columns of pixels which it decides are dirty, and that these columns 
are decided by a mask which is incorrect, perhaps even based on an antialiased 
or other version of the font. In a single line, whole letters or parts of 
letters sliced vertically are left unscrolled, producing a garbled, dirty 
screen. Letters on lower lines clear garbled pixels as they rise over them.
<P>
This problem can be temporarily solved by minimizing Konsole and then bringing 
it to the front again. Also solved by swiping another window over it. It 
doesn't happen with other terminal programs like xterm.
<P>
When I run Konsole it is launched from the KDE menu which is running in ** 
Japanese ** mode. The problem is SOLVED if in a konsole shell I unset LANG and 
then launch another konsole from there. But the LANG setting (normally ja_JP) 
is necessary to launch programs in Japanese mode.
<P>
By the way, is there a mystery hotkey to switch among different terminal 
sessions?  And how do you save a profile?  Otherwise I love Konsole!
<P>

mattr at telebody dot com
Comment 3 etkopa 2004-05-11 20:46:46 UTC
I had had the same problem, but it went away after I switched to ISO8859-2 from UTF-8.
Comment 4 etkopa 2004-05-11 23:51:07 UTC
The problem persists in KDE 3.2.2 (custom build, Fedora development SRPM packages, gcc 3.3.3), if I `cat /dev/urandom'. The man pages seem to work OK, either encoding. All works fine in rxvt. The linux text console experiment gave  me the ZX feel again, though it works superbly (I wonder why.).
All in all, I have no idea what's wrong. Even if I were a c++ guru, I wouldn't have the time.
Comment 5 Stephan Kulow 2004-05-29 16:34:06 UTC
Replaced cjb@cs.utexas.edu with etkopa@o2.pl due to bounces by reporter
Comment 6 Kurt Hindenburg 2005-03-29 07:05:20 UTC
Please try a 3.3 version (or even better KDE 3.4).