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

Ulrich Norbisrath bugzilla_noreply at kde.org
Fri Jun 19 02:29:29 BST 2020


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

            Bug ID: 423201
           Summary: Code from Firefox pastes extra newlines into Konsole
           Product: konsole
           Version: unspecified
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: copy-paste
          Assignee: konsole-devel at kde.org
          Reporter: kde at mail.ulno.net
  Target Milestone: ---

SUMMARY
Code or commands cannot be pasted from firefox into konsole as firefox puts
linefeed (/n - 10) carriage return (/r - 13) into the clipboard.

STEPS TO REPRODUCE
1. Open
https://www.reddit.com/r/kde/comments/gv89gw/double_newlines_when_pasting_into_konsole_and/
in Firefox.
2. Select the echo echo echo block. Press Ctrl-C.

OBSERVED RESULT
3. Paste either per middle mouse-click or per Ctrl-V into konsole, see double
new-lines.
4. Check also xclip -o | hexdump and witness several 0a0d


EXPECTED RESULT
No double new-lines. Carriage-Return is simply ignored like in xterm,
gnome-terminal, xfce4-terminal, or qterminal

SOFTWARE/OS VERSIONS
Windows: n/a
macOS: n/a
Linux/KDE Plasma: Manjaro (updated) 
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
klipper is installed and active (but I recall having same issues without
clipboard manager or with copyq - there are some rare instances where it works
sometimes correctly, but not sure how to reproduce). Inserting from selection
or clipboard via middle-click into konsole has same result. Setting synchronize
content in klipper doesn't change anything.

Another report like this:
https://www.reddit.com/r/kde/comments/cm0j3d/konsole_add_newline_when_copying/

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


More information about the konsole-devel mailing list