Bug 46777 - corrupt display. Characters randomly placed, garbage at end of lines, redraw corrects.
Summary: corrupt display. Characters randomly placed, garbage at end of lines, redraw ...
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.1.3
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-22 13:48 UTC by steve
Modified: 2004-11-26 17:35 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 steve 2002-08-22 13:38:47 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           konsole
Version:           1.1.3 (using KDE 3.0.3 )
Severity:          normal
Installed from:    Compiled From Sources
Compiler:          GCC 3.2
OS:                Solaris
OS/Compiler notes: GCC configured to use Solaris assembler and linker. Solaris Version 8.

konsole doesn't display data correctly as it is output with characters being drawn in the wrong place on a line etc.

The cursor on the current commandline is placed one character too far to the right and when text is entered it displays double spaced.

Causing a redraw by closing and opening the window clears up the display but the cursor is still in the incorrect position.

(Submitted via bugs.kde.org)
Comment 1 Stephen Usher 2002-09-03 10:40:15 UTC
I've set up a web page with window dumps to show the problem.

Konsole worked fine under Solaris 8 with the version which came with KDE 3.0.0
built with GCC 2.95.2.

Anyway here's the URL:-

http://www.earth.ox.ac.uk/~steve/konsole.debug/

As you can see the default font is almost unreadable and any font chosen
shows the same display problem.

Stephen Usher
-- 
---------------------------------------------------------------------------
Computer Systems Administrator                E-Mail:-steve@earth.ox.ac.uk
Department of Earth Sciences                     Tel:-  +44 (0)1865 282110
University of Oxford Parks Road Oxford UK.     Fax:-  +44 (0)1865 272072
Comment 2 Stephen Usher 2002-09-03 11:05:17 UTC
I have found ONE font which allows konsole to work correctly:-

Clean regular 12pt

So it seems to be a font width or other property problem.

Stephen Usher
-- 
---------------------------------------------------------------------------
Computer Systems Administrator                E-Mail:-steve@earth.ox.ac.uk
Department of Earth Sciences                     Tel:-  +44 (0)1865 282110
University of Oxford Parks Road Oxford UK.     Fax:-  +44 (0)1865 272072
Comment 3 Stephen Usher 2002-09-12 15:42:46 UTC
Noting that konsole from KDE 3.0.0 compiled with gcc 2.95.3 works I tried
using previous KDE release code for the konsole part of kdebase.

I discovered that using the source from kdebase-3.0/konsole and replacing
the kdebase-3.0.3/konsole with this version made no difference.

This means that either:-

(a) The different compilers are generating differently acting code.
or(b) Interaction with another KDE library is showing a bug.
or(c) Interaction with the new QT libraries is showing a bug.

The bug is obviously to do with font rendering and calculated space for the
fonts.

No other KDE application I have found experiences any of these font problems.

The failure of konsole means that I cannot bring KDE 3 into service at our
site as it's one of the most widely used programs dispite a whole host of
benefits from other parts of KDE. Hence for us it's a critical bug.

I'm not sure what else I can try to give you more information.

Stephen Usher
-- 
---------------------------------------------------------------------------
Computer Systems Administrator                E-Mail:-steve@earth.ox.ac.uk
Department of Earth Sciences                     Tel:-  +44 (0)1865 282110
University of Oxford Parks Road Oxford UK.     Fax:-  +44 (0)1865 272072
Comment 4 Stephen Usher 2002-09-18 17:38:46 UTC
Subject: Konsole bug tied down to GCC 3.2.

Having compiled kdebase under Solaris 7 using GCC 2.95.2 (Solaris 7 was the
only version of the operating system with the old compiler still available I
had to play with) the resulting executable works fine.

This suggests that the problem is compiler specific as the library versions
for all other things is the same as the GCC 3.2 compiled code.

Seeing as it's a font redering problem which only appears with konsole, this
suggests that the problem lies within konsole's code itself.

I don't have the C++, KDE library expertise or time to refine this diagnosis
any further. I would, however, like some feedback from someone that can help
with this.

Thanks in advance,

Stephen Usher
Comment 5 Stephen Usher 2003-02-06 16:37:04 UTC
Subject: Konsole bug still present in KDE 3.1.0

The bug which makes konsole unusable if compiled with GCC 3.2 under Solaris is 
still there in KDE 3.1.0. This is a problem as much of KDE 3.1.0 won't 
compile with the older compiler and hence I have no option. I can't fix it by 
using the earlier compiler.

The effects seem similar to those people are seeing with newer Xft and 
freetype versions on other platforms so it could be related.

Steve
Comment 6 Stephen Usher 2003-02-07 13:49:45 UTC
Subject: Better debugging info.

Having done a few tests I've discovered the following:-

The only font which works properly are in the "fixed" foundery. In all the
others the character cell width is totally miscalculated causing display
confusion.

I've not been able to try konsole with the supplied fonts for console etc. as
the Solaris X server won't load them (either Gzipped or not).

Steve

Comment 7 steve 2004-11-26 17:35:02 UTC
KDE 3.3.1 konsole works fine