[konsole] [Bug 421480] New: copy / paste issue from Firefox to Konsole

Henrik Hudson bugzilla_noreply at kde.org
Wed May 13 20:12:01 BST 2020


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

            Bug ID: 421480
           Summary: copy / paste issue from Firefox to Konsole
           Product: konsole
           Version: 20.04.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: copy-paste
          Assignee: konsole-devel at kde.org
          Reporter: rhavenn at rhavenn.net
  Target Milestone: ---

Ultimately, this boils down to an issue with GTK3 and how it works, but
wondering why KDE has been exposing this issue worse and worse in the last 3
months or so months. According to the GTK thread this functionality hasn't
changed in years.

Specifically, when copy / pasting from a Firefox form field or other blocks of
text and pasting to a Konsole vim window I get extra lines between everything.
This is because GTK is adding '\r\n' to everything. Roughly 3 months ago this
wasn't an issue, but then I started getting 'Filter' popups in Konsole when
pasting into vim about "Other Unprintable Characters" and would I like to
remove them. I would click "Remove" and all was good. As of a system update
from a few days ago I stopped getting that pop-up and now when pasting into
Konsole I just get extra spaces. 

If I paste into Kate first and then copy / paste out of Kate it's fine, so Kate
is doing some cleanup. Would it be possible to move that "cleanup" closer to
the KDE "core"?

How can I re-enable that pop-up to strip the unprintable characters or just
make it automatic? I can't find it as an option in 'Konsole' or 'Klipper'. 

Gnome team has pretty much said "this is how it works since forever" and it's a
won't fix until GTK4.


For reference:
https://bugzilla.mozilla.org/show_bug.cgi?id=1547595
https://bugzilla.mozilla.org/show_bug.cgi?id=1572104
https://gitlab.gnome.org/GNOME/gtk/issues/2307



STEPS TO REPRODUCE
1. Copy a block of text from a form field in Firefox (current release)
2. paste into a Konsole vim / nano editor window


OBSERVED RESULT
Get an extra space between every line

EXPECTED RESULT
No extra spaces

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch Linux - X11 with AMD GPU
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION

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


More information about the konsole-devel mailing list