Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Learn More

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

Under Wayland, Firefox copies multi-line text with Windows-style newlines

  • 1 antwurd
  • 1 hat dit probleem
  • 19 werjeftes
  • Lêste antwurd fan cor-el

more options

Starting Firefox under a Wayland compositor (sway, in my case) with MOZ_ENABLE_WAYLAND=1 and copying some multi-line text results in newlines of the form \r\n, i.e. Windows-style, instead of the expected \n. Starting Firefox with the X11 backed, i.e. without MOZ_ENABLE_WAYLAND=1, doesn't exhibit the issue.

This is most certainly a bug since Wayland is a Unix-like protocol, and as such newlines should be of the form \n. However I am finding the bug tracker a little daunting and I am not sure how to check whether it is already known or not.

Starting Firefox under a Wayland compositor (sway, in my case) with ''MOZ_ENABLE_WAYLAND=1'' and copying some multi-line text results in newlines of the form '''\r\n''', i.e. Windows-style, instead of the expected '''\n'''. Starting Firefox with the X11 backed, i.e. without ''MOZ_ENABLE_WAYLAND=1'', doesn't exhibit the issue. This is most certainly a bug since Wayland is a Unix-like protocol, and as such newlines should be of the form '''\n'''. However I am finding the bug tracker a little daunting and I am not sure how to check whether it is already known or not.

Keazen oplossing

It is a known bug that has been reopened:

  • Bug 1547595 - GTK puts \r\n line endings into the Wayland Clipboard on Linux
  • Bug 1572104 - Carriage returns are copied from
     blocks under Linux
    
(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
) Dit antwurd yn kontekst lêze 👍 1

Alle antwurden (1)

more options

Keazen oplossing

It is a known bug that has been reopened:

  • Bug 1547595 - GTK puts \r\n line endings into the Wayland Clipboard on Linux
  • Bug 1572104 - Carriage returns are copied from
     blocks under Linux
    
(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)