[Konsole-devel] [konsole] [Bug 365921] New: Occasionally, konsole silently transforms trailing spaces into carriage returns when copy-pasting => dataloss due to prematurely executing incomplete commands!

Alain Knaff via KDE Bugzilla bugzilla_noreply at kde.org
Thu Jul 21 06:44:25 UTC 2016


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

            Bug ID: 365921
           Summary: Occasionally, konsole silently transforms trailing
                    spaces into carriage returns when copy-pasting =>
                    dataloss due to prematurely executing incomplete
                    commands!
           Product: konsole
           Version: 2.13
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: NOR
         Component: copy-paste
          Assignee: konsole-devel at kde.org
          Reporter: kde at kde.lka.org.lu

When copy-pasting from konsole, trailing spaces are occasionally transformed
into carriage returns. This may lead to data loss if copy-pasting to another
konsole in the process of building a command.

Example: when intending to do "cp file1 file2 directory", and copy-pasting
"file1 file2" from one konsole to another after typing cp, you just lost file2
=> such bugs are just inacceptable! It is due to this potential of data loss
that I marked the bug as critical.

I'm aware that konsole has had trouble with trailing spaces for ages, and had a
bad tendency of "fixing" issues by "compensating" them (i.e. replacing a
pattern resulting from one bug with the expected pattern, thereby causing a new
bug in situations where such patterns were indeed intended) => it is never a
good idea to "compensate" like that, and in fixing bugs, care must be taken to
actually locate and fix the *cause* rather than patch the symptoms.

(In my case, I managed to regenerate the file, but others may not be so
lucky...)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list