Bug 254628

Summary: When pasting from konsole sometimes spaces until EOL are included
Product: [Applications] konsole Reporter: davidblunkett <dav1dblunk3tt>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: adaptee, scott
Priority: NOR    
Version: 2.4.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description davidblunkett 2010-10-19 09:27:10 UTC
Version:           2.4.3 (using KDE 4.4.4) 
OS:                Linux

Sometimes when I copy paste from konsole I get spurious spaces from the end of the text in the line until the edge of the screen.  This is very annoying.
eg if the line in console reads:
"Date: Tue, 19 Oct 2010 15:22:14 +1100" and I copy the whole line I get: "Date: Tue, 19 Oct 2010 15:22:14 +1100xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" where the x is a space.

This never happened under konsole in kde 3.

Reproducible: Always

Steps to Reproduce:
Run pine/alpine in a konsole window, copy something, paste it elsewhere and you get spurious space characters·

Actual Results:  
Run pine/alpine in a konsole window, copy something, paste it elsewhere and you get spurious space characters·

Expected Results:  
Lines ending with spaces should be terminated with CR

This wouldn't be quite so annoying except for bug 178975
Comment 1 Jekyll Wu 2011-07-23 22:43:02 UTC
looks like a duplicate of #188528
Comment 2 davidblunkett 2011-07-25 07:34:51 UTC
Re  #188528 - I tried this for an arbitrary console output and I can confirm slightly different behaviour for kde 4.6 (as I am on now) when compared with   #188528.

I see spurious spaces for pine but not for the history or vim.
Comment 3 Jekyll Wu 2011-10-15 10:48:07 UTC
I just installed re-alpine and played it around for a while. The problem does exist. But I still think it is a duplicate of bug #188528. 

After applying the patch from comment #94, the probelm is gone. Could you please try that patch and give some feedback?
Comment 4 Jekyll Wu 2011-10-26 09:13:48 UTC

*** This bug has been marked as a duplicate of bug 188528 ***