Description of problem: Copying text from Firefox onto the clipboard and then pasting it into konsole results in a popup warning about hidden unprintable characters. It seems that \n is converted to \r\n by Firefox (or Gtk, or something). Version-Release number of selected component (if applicable): firefox-72.0.1-2.fc31.x86_64 konsole5-19.08.3-1.fc31.x86_64 kwin-5.17.5-1.fc31.x86_64 plasma-workspace-5.17.5-1.fc31.x86_64 How reproducible: Always Steps to Reproduce: 1. Run Firefox and konsole under KDE. 2. Select any multi-line piece of text in Firefox and copy to the clipboard. 3. Paste into the konsole window. Actual results: A popup appears warning about pasting hidden unprintable characters, specifically the \xd character, i.e. carriage return. See attached screenshot. "The text you're trying to paste contains hidden unprintable characters, do you want to filter them out?" Expected results: No \xd characters, no popup from konsole. Additional info: If you select the "remove unprintable" button then the text is pasted correctly. If you select "confirm paste" then the \xd characters are converted to \xa (i.e. newline) and so every line break in Firefox becomes \n\n instead of \n, resulting in unwanted double-spacing. This can be confirmed by running xxd in the konsole window and inspecting the results of pasting and clicking "confirm paste". This looks like https://bugzilla.mozilla.org/show_bug.cgi?id=1547595 and https://bugzilla.mozilla.org/show_bug.cgi?id=1605715 and https://gitlab.gnome.org/GNOME/gtk/issues/2307 except that as far as I know I'm not running the Wayland backend for firefox. Pasting from Firefox to gvim or kwrite or google-chrome doesn't add carriage returns, only when pasting to konsole.
In F32 this no longer shows the dialog complaining about unprintable characters, but instead the text that gets pasted is double-spaced. It looks like the carriage returns get converted to newlines, so that \r\n becomes \n\n
I can reproduce the problem in F32 as described by Jonathan Wakely
This message is a reminder that Fedora 31 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '31'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 31 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 31 changed to end-of-life (EOL) status on 2020-11-24. Fedora 31 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.
Reopening as the problem remains in F32 (though somewhat less severe as you don't get the irritating dialog).
This message is a reminder that Fedora 32 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '32'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 32 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.