[Libreoffice-bugs] [Bug 133077] Pasting from Zoom only pastes first paragraph of multi-paragraph message

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat May 16 07:02:12 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=133077

Mike Kaganski <mikekaganski at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
           Assignee|libreoffice-bugs at lists.free |mikekaganski at hotmail.com
                   |desktop.org                 |
     Ever confirmed|0                           |1

--- Comment #1 from Mike Kaganski <mikekaganski at hotmail.com> ---
Created attachment 160886
  --> https://bugs.documentfoundation.org/attachment.cgi?id=160886&action=edit
An InsideClipboard capture of long (>2048 characters) text with three
paragraphs separated by CRs

This specially crafted clipboard content has three lines separated by CRs,
where first line is short, second one's length was chosen such that reading the
clipboard contents into internal buffer (2048 Unicode characters) ends with its
trailing CR, and the last line is also short. This test demonstrates that when
CR happens on buffer boundary, we treat it as paragraph break, while it is
treated incorrectly in the middle.

Problematic code is in SwASCIIParser::ReadChars (switch case handling 0x0d).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200516/1603ab4c/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list