[Konsole-devel] [Bug 96398] New: When selecting text, konsole silently gobbles spaces that occur at the end of the line

Tristan Miller psychonaut at nothingisreal.com
Wed Jan 5 20:46:59 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
        
http://bugs.kde.org/show_bug.cgi?id=96398        
           Summary: When selecting text, konsole silently gobbles spaces
                    that occur at the end of the line
           Product: konsole
           Version: unspecified
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel kde org
        ReportedBy: psychonaut nothingisreal com


Version:            (using KDE KDE 3.3.2)
Installed from:    SuSE RPMs

Steps to reproduce:

1. Open a konsole shell session with a width of 80 characters.
2. echo "n Strategie keine Garantie dafür ist, daß sie angewendet wird. Optimales Lernen kann"
3. In the output of echo, note that the text "Lernen " (including the space) appears at the end of the line, while "kann" appears at the beginning of the next line.
4. Select the two output lines with the mouse.
5. Paste (i.e., middle-click) into any application.

Expected behaviour:

The pasted text reads as follows:
Strategie keine Garantie dafür ist, daß sie angewendet wird. Optimales Lernen kann

Observed behaviour:

The pasted text reads as follows:
Strategie keine Garantie dafür ist, daß sie angewendet wird. Optimales Lernenkann

That is, the space at the end of the first line apparently was not copied.  This happens to any and all lines ending in a space character.

I have confirmed that this is a konsole problem.  Repeating the same steps with, say, xterm, does not trigger the bug.



More information about the konsole-devel mailing list