[konsole] [Bug 423201] Code from Firefox pastes extra newlines into Konsole

Ulrich Norbisrath bugzilla_noreply at kde.org
Fri Jun 19 13:35:33 BST 2020


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

--- Comment #3 from Ulrich Norbisrath <kde at mail.ulno.net> ---
Just adding here a more precise prescription to see the problem of lf/cr ending
up in the clipboard (hope somebody else can confirm):
1. use klipper (enable the kde clipboard)
2. in klipper make sure you enable "synchronize contents of the clipboard and
the selection" in it's configuration
3. open in firefox
"https://www.reddit.com/r/kde/comments/gv89gw/double_newlines_when_pasting_into_konsole_and/"
and navigate to the code box that shows 3x echo
4. select the three echos
5. press ctrl-c (don't skip this step if you paste directly from selection it
will work after the fix mentioned in bug 421480
6. check in a terminal: xclip -o|hexdump
7. hopefully confirm that you also see 0a0d sequences in that output (else
something else weird is going on in my system)
8. press either shft-ctrl-v or middle-mouse-klick in a konsole with
command-prompt
9. witness extra new-lines (one from echo showing without prompt, and one for
the prompt)
10. maybe also try with vim and report back (I don't have the fix installed
yet)

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


More information about the konsole-devel mailing list