[Konsole-devel] [Bug 181368] New: Copy&Paste loses tab on line break

Christoph Burgmer chrislb at gmx.de
Tue Jan 20 05:57:42 UTC 2009


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

           Summary: Copy&Paste loses tab on line break
           Product: konsole
           Version: unspecified
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: chrislb at gmx.de


Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    Debian testing/unstable Packages

When copy and pasting strings with Konsole being the source, tabs "\t" (and
from my experience probably other whitespace characters) occuring at the end of
a line in Konsole get swallowed.


Testcase

In the following example I print an array of numbers separated by tabs three
times, once at line size 80, then 82 and 84. See what happens when I paste the
output into the bug report:

$ python
Python 2.5.2 (r252:60911, Jan  4 2009, 17:40:26)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> b
[u'14', u'12', u'11', u'8', u'8', u'7', u'7', u'5', u'2', u'3', u'2', u'2',
u'1', u'2', u'1', u'1', u'1', u'0', u'0', u'4']
>>> print '\t'.join(b)
14      12      11      8       8       7       7       5       2       3     
22       1       2       1       1       1       0       0       4
>>> print '\t'.join(b)
14      12      11      8       8       7       7       5       2       3      
221       2       1       1       1       0       0       4
>>> print '\t'.join(b)
14      12      11      8       8       7       7       5       2       3      
2  21       2       1       1       1       0       0       4


-- 
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