[konsole] [Bug 421480] Pasting multiline text from Firefox results in double new lines between each text block

Ulrich Norbisrath bugzilla_noreply at kde.org
Fri Jun 19 12:43:03 BST 2020


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

--- Comment #5 from Ulrich Norbisrath <kde at mail.ulno.net> ---
As you see in my bug report Bug 423201 at the "xclip -o|hexdump" output, I
sometimes get 0a0d in the clipboard which would be the reverse case of what is
fixed here: linefeed and then carriage return, so your fix would actually not
solve that issue. Maybe posting to vim works (but it should actually not
either), but posting directly a set of sample commands (like the multiple echo
block from reddit I mention) into Konsole will still create the unexpected
results.

Shouldn't we also detect the \n\r case and replace that with a single \r?
This reverse \n\r seem to only happen when you turn on "synchronize contents of
the clipboard and the selection" and really make a copy (ctrl-c) of your
selection in Firefox. Shall I re-open my original bug or file one for klipper?
I still think it would be an easy fix in the terminal itself, again it only
influences konsole - all other terminals I tested can cope even with the
reverse lfcr.

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


More information about the konsole-devel mailing list