Bug 160075

Summary: long input lines with false linebreak when konsole starts maximized
Product: [Applications] konsole Reporter: Grek336 <kult03>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: adaptee, andresbajotierra
Priority: NOR    
Version: 2.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Some Screenshots from the bug
Screencast für Bug 160075
Konsole behaviour (text rendering glitch)

Description Grek336 2008-03-29 23:38:08 UTC
Version:           2.0 (using 4.0.2 (KDE 4.0.2), Kubuntu packages)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24-12-generic

When konsole is starting first time and in maximized window the linebreak is wrong. The linebreak comes on a point where it is right when the konsole is not in a maximized window. 

Example

michael@Kubuntu-Hardy-KDE4-beta-Test-1:~$ abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz

First start in maximized windows mode you see that:

abcdefghijklmnopqrstuvwxyz-beta-Test-1:~$ abcdefghijklmnopqrstuvwxyz0123456789

Click windows to normal window modus you see that

michael@Kubuntu-Hardy-KDE4-beta-Test-1:~$ abcdefghijklmnopqrstuvwxyz0123456789
abcdefghijklmnopqrstuvwxyz

When you go back to maximized windows mode you see that

michael@Kubuntu-Hardy-KDE4-beta-Test-1:~$ abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz

I hope you have understand the bug but I have not see a Option to send you some screenshots.

Thank you for your work. Greetings from Berlin.
Comment 1 Grek336 2008-03-29 23:46:48 UTC
Created attachment 24118 [details]
Some Screenshots from the bug
Comment 2 Robert Knight 2008-03-30 05:21:55 UTC
I can reproduce this sporadically.  

Steps to reproduce:

1.  Start Konsole, maximize it and then close it so that it starts up maximized next time

2.  Create a new startup file for your shell with only

export PS1="michael at Kubuntu-Hardy-KDE4-beta-Test-1:~$ abcdefghijklmnopqrstuvwxyz0123456789abcdefghijklmnopqrstuvwxyz"

In it.  The issue does not seem to occur if bash takes a while to startup (eg. because of a big completion script to load)

3.  Change Konsole's default profile to use this startup file

4.  Open several tabs or windows.  Sometimes the output will be wrapped at 80 characters.
Comment 3 Dario Andres 2008-12-21 19:47:55 UTC
Here using:

Qt: 4.4.3
KDE: 4.1.85 (KDE 4.1.85 (KDE 4.2 Beta2))
kdelibs svn rev. 899634 / kdebase svn rev. 899635
on ArchLinux x86_64 - Kernel 2.6.27.8

I can't reproduce this bug.

Any news on this?
Can anyone still reproduce this bug with a recent KDE version? (4.1.3 / 4.2beta2 / 4.2svn) ?  Thanks :) 
Comment 4 Grek336 2008-12-22 21:42:36 UTC
Created attachment 29558 [details]
Screencast für Bug 160075

I can not reproduce the bug in the same way. But I have found another way (or another bug?)

The the screencast for detais of wrong line wrapping on horizontal resize and maximize a terminal windows.

Kubuntu 8.10 (intrepid Ibex), KDE 4.1.3, Qt (libqtcore4) 4.4.3
Comment 5 Dario Andres 2008-12-23 01:39:32 UTC
Created attachment 29564 [details]
Konsole behaviour (text rendering glitch)

Here using:

Qt: 4.4.3
KDE: 4.1.86 (KDE 4.1.86 (KDE 4.2 >= 20081221))
kdelibs svn rev. 900437 / kdebase svn rev. 900437
xorg-server 1.5.3
xf86-video-intel 2.4.3
intel-dri 7.2

Compositing off
on Intel GMA x3100 (965)
on ArchLinux x86_64 - Kernel 2.6.27.8

You can see the text rendering errors in Konsole when resizing a window with a long text line. Some of the "aaaaaaaaaaaaaaaaa" remain in the lines below the current shell line. In the last seconds of the video I'm pressing RETURN , and the "aaaaa"s remain there.

The video contains some graphical glitches (created by the recording program)
Comment 6 Jekyll Wu 2011-08-20 00:29:53 UTC
Using konsole-2.7.999, I can easily reproduce the problem in comment #5, but can't reproduce other problems.
Comment 7 Jekyll Wu 2011-10-11 16:42:56 UTC
(In reply to comment #6)
> Using konsole-2.7.999, I can easily reproduce the problem in comment #5, but
> can't reproduce other problems.

It seems this problem is related with the shell. I can still reproduce the problem in comment #5 easily with bash, but zsh does not have this problem at all.

The above observation also holds in xterm/rxvt-unicode/mlterm/vte/putty. So I guess the real problem lies in the shell, not emulator.
Comment 8 Jekyll Wu 2011-11-24 05:42:08 UTC
Close this report as per comment #7. If someone thinks this is really a problem of Konsole, feel free to write down your observation/analysis in the comment.