[konsole] [Bug 89299] prevent paste of newline characters

Felipe Veas bugzilla_noreply at kde.org
Thu May 14 06:16:04 BST 2020


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

Felipe Veas <fjveas at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fjveas at gmail.com

--- Comment #55 from Felipe Veas <fjveas at gmail.com> ---
Apparently, some applications such as Firefox or Sublime Text tend to write to
the clipboard using CRLF line endings. That wasn't really an issue when
copy-pasting into Konsole since a popup would show up letting us to filter
those extra CR characters if one wanted to.

Then, last year in November, a couple of patches changed the filter behavior
and one of those added the CR character to a whitelist [1], thus disabling the
popup notification for this scenario.

>From a somewhat related bug report [2], a similar issue affected Firefox when
running on Wayland, in which the root cause was Gtk because of the way it
normalizes the clipboard content depending on the mime type [3]. However, I am
not sure if the same applies here because I use X11 instead, so at least it is
not the same situation.

Anyways, like George suggested, it would be nice to have the popup back, even
if it is just a workaround for the time being.

Thanks,

Felipe

[1]
https://cgit.kde.org/konsole.git/commit/?id=5e142c9dadc8a00d7017c6f60603798bcaa6ae85
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1547595
[3] https://gitlab.gnome.org/GNOME/gtk/issues/2307

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


More information about the konsole-devel mailing list