Bug 159807 - Copy/paste swallows trailing newlines
Summary: Copy/paste swallows trailing newlines
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Robert Knight
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-24 23:21 UTC by Saurabh Asthana
Modified: 2011-07-31 02:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
copy paste problem sample (38.48 KB, image/jpeg)
2008-05-02 00:02 UTC, Diego Ercolani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Saurabh Asthana 2008-03-24 23:21:40 UTC
Version:            (using KDE 4.0.2)
Installed from:    Ubuntu Packages
OS:                Linux

When I copy a bit of text with a trailing newline in konsole, it pastes WITHOUT the trailing newline (e.g. if I paste it into vi). There is no way for me to include the newline without also grabbing an extra character from the subsequent line.
Comment 1 Robert Knight 2008-03-30 06:01:58 UTC
This has been fixed in trunk.  Need to check whether the fix has been backported to KDE 4.0.x
Comment 2 Diego Ercolani 2008-05-02 00:02:01 UTC
Created attachment 24591 [details]
copy paste problem sample

Some other things regarding this bug:
If I copy from the console a line that has to wrap and the last character
before wrapping point is a space character, the pasted line doesn't have the
space anymore.
My versions is:
kde4-konsole-4.0.3-17.3 under OpenSuse 10.2
Comment 3 Dario Andres 2008-12-21 19:41:40 UTC
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 Jekyll Wu 2011-07-22 19:51:13 UTC
can't reproduce this problem with konsole 2.7.999.
Should it be closed now?