[Konsole-devel] [Bug 223193] New: mouse text selection: _sometimes_ copying a lot of unexisting spaces instead of newline character at the end of line to the X buffer

DEK dmitryk at interzet.ru
Sun Jan 17 19:03:30 UTC 2010


https://bugs.kde.org/show_bug.cgi?id=223193

           Summary: mouse text selection: _sometimes_ copying a lot of
                    unexisting spaces instead of newline character at the
                    end of line to the X buffer
           Product: konsole
           Version: 2.3.3
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: dmitryk at interzet.ru


Version:           2.3.3 (using KDE 4.3.3)
Compiler:          gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5) -O2 -pipe
-mtune=nocona -march=nocona
OS:                Linux
Installed from:    Gentoo Packages

selection - I mean simple mouse selection with copying to X buffer

It occurs only with a big number of selected lines (somewhere above one hundred
lines).
Some of them are copied to X buffer with a lot of space characters instead of
one newline character.

Way to reproduce (for example):
$ for N in `seq 1 1 51` ; do echo -e "$N\ta\t\tb\t\tc\t\t\t\t\n\tzz\nasd\tbzk\n
bg" ; done
$

After that select the output with your mouse and paste it by the middle mouse
button into any text editor (nano, for example).
Then select it and paste it again.
Look at the results.
There will be a number of lines, that do not end with just \n, but have a lot
of spaces before it.

Instead of nano you can use just something like that:
$ cat <<EOF | wc -c
and paste text from X buffer to cat.
Number of characters will differ between two selections of the same text.

PS sorry for my poor english

-- 
Configure bugmail: https://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