[Konsole-devel] [Bug 181988] New: copy and paste introduces spaces at the end of the pasted line

Richard Bos richard.bos at xs4all.nl
Mon Jan 26 15:37:07 UTC 2009


http://bugs.kde.org/show_bug.cgi?id=181988

           Summary: copy and paste introduces spaces at the end of the
                    pasted line
           Product: konsole
           Version: 2.2
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: richard.bos at xs4all.nl


Version:           2.2 (using 4.1.96 (KDE 4.1.96 (KDE 4.2 RC1)) "release 78.2",
KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.7-9-pae

When I copy a text in konsole, spaces are added at the end of line.   The
spaces that are added are from the last character until the width of konsole.

So when I copy a text like this from konsole into a file called $tmp:
... running 08-check-permissions                                                
... testing for modified permissions                                            
... running 09-check-packaged-twice                                             
... running 10-check-lanana                                                     
... running 11-check-pkgconfig-deps                                             
... testing devel dependencies required by pkgconfig .pc files                  
... running 12-check-libtool-deps                                               
... testing devel dependencies required by libtool .la files                    

It becomes this:
> sed 's/$/_THE END_/;s/  /../g' $tmp1
... running
08-check-permissions................................................................................................................_THE
END_
... testing for modified
permissions............................................................................................................_THE
END_
... running
09-check-packaged-twice.............................................................................................................._THE
END_
... running
10-check-lanana......................................................................................................................_THE
END_
... running
11-check-pkgconfig-deps.............................................................................................................._THE
END_
... testing devel dependencies required by pkgconfig .pc
files.................................................................................._THE
END_
... running
12-check-libtool-deps................................................................................................................_THE
END_
... testing devel dependencies required by libtool .la
files...................................................................................._THE
END_

The sed command has been added to make the result visible.

The expected result is: the copied text without spaces at the end of line.

ps: the copied text does not have spaces at the end of line,  I just checked
this.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list