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

Ahmad Samir bugzilla_noreply at kde.org
Sun Jun 14 19:14:49 BST 2020


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

Ahmad Samir <a.samirh78 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |a.samirh78 at gmail.com

--- Comment #60 from Ahmad Samir <a.samirh78 at gmail.com> ---

(In reply to Felipe Veas from comment #55)
> 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

Pasting from a GTK app (e.g. Firefox) resulting in double newlines between text
blocks is bug 421480.

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


More information about the konsole-devel mailing list