Bug 388055

Summary: Last command gets carried over when in bottom line
Product: [Applications] konsole Reporter: perlancar
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal CC: justin.zobel, simonandric5
Priority: NOR    
Version: 16.04.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description perlancar 2017-12-20 05:43:12 UTC
This only appears to be happening when Konsole window is maximized.

When the cursor ends up at the bottom-most line, then the last command sometimes gets carried over. So to illustrate:

    .---------------------------------------------.
    | $ ls -l                                     |
    | (output ...)                                |
    | (output ...)                                |
    | (output ...)                                |
    | (output ...)                                |
    | (output ...)                                |
    | (output ...)                                |
    | (output ...)                                |
    | (output ...)                                |
    | $ ls -l                                     |
    '---------------------------------------------'

After I type the first `ls -l` and the shell prompt is printed at the bottom line, the `ls -l` will already be there even though I have not typed it. This does not happen all the time.

Also sometimes the last 2-3 bottom lines of output are not shown (just black/background color) and only shown after I press Enter to scroll one line.

Really annoying, to be honest.
Comment 1 Kurt Hindenburg 2017-12-25 17:09:40 UTC
The version you have is somewhat old - couldn't reproduce here - what shell do you use? You have konsole maximized and not full screen?
Comment 2 perlancar 2017-12-27 09:54:43 UTC
It's the version that comes with LinuxMint 18.2. Yes, this happens in maximized window as well as full screen mode, but not in non-maximized window (I tried several different sizes).
Comment 3 perlancar 2017-12-27 09:55:40 UTC
I'm using bash. My ls output is colored but my shell prompt does not contain colors.
Comment 4 Justin Zobel 2020-10-23 01:26:19 UTC
Can you please confirm if this is still an issue with the latest version of konsole in mint.
Comment 5 perlancar 2020-10-23 01:32:14 UTC
(In reply to Justin from comment #4)
> Can you please confirm if this is still an issue with the latest version of
> konsole in mint.

Never seen it again so far. I'm now using Konsole 19.04.3 that comes with Ubuntu 19.10.
Comment 6 Justin Zobel 2020-10-23 01:44:11 UTC
Thanks for the reply. I'll close this bug report off. If it happens again feel free to report.