TeamTalk5 icon indicating copy to clipboard operation
TeamTalk5 copied to clipboard

When copying multiline text from history, new lines replaced with character \u2029

Open cyrmax opened this issue 3 years ago • 0 comments

Description

When i copy multiline text from channel history or private messages i see symbol \u2029 instead of new lines.

Example: I have send the following text


Big text line one Big text line two Big text line three

Line four after one empty line


After all manipulations i got the following text.


Big text line one
Big text line two
Big text line three

Line four after one empty line



I think this is a bug of QT 6 because i found this bug only in TeamTalk 5.11 beta.

Application

  • [X] qtTeamTalk
  • [ ] TeamTalkAndroid
  • [ ] iTeamTalk
  • [ ] TeamTalkClassic
  • [ ] TeamTalkServer

Platform

  • [X] Windows
  • [ ] macOS
  • [ ] Android
  • [ ] iOS
  • [ ] Linux

Expected behavior

Text is pasted with normal line endings and new lines.

Actual behavior

Text is pasted with symbol \u2029 instead of normal new lines.

Steps to reproduce problem

  1. Send or receive some multiline text via channel messages, private messages or broadcast messages;
  2. Try to select and copy this text via keyboard (i didn't tested with mouse);
  3. Paste text into some text editor like Windows notepad, Notepad++ or VS Code;

cyrmax avatar Sep 30 '22 12:09 cyrmax