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

            Bug ID: 171081
           Summary: Direct formatting removed when copy-pasting content
                    within document
           Product: LibreOffice
           Version: 7.4.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, regression
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
            Blocks: 102593

Created attachment 205854
  --> https://bugs.documentfoundation.org/attachment.cgi?id=205854&action=edit
Sample ODT

- Open the attached ODT document,
- Select the first word after the list ("dddd"), and copy it to the clipboard,
- Paste it into the empty list line.

=> Direct formatting is removed in the pasted line.
Font size was 16 pt from direct formatting, both in the line and the copied
text, and it's reset to 12 pt.

This only happens with default paste, pasting as unformatted text is a
workaround.

Observed using LO 26.8.0.0.alpha0+ (02-17).

Happens since the following commit in 7.5 and its 7.4 backport:
https://git.libreoffice.org/core/commit/3707c0b4ff683ac6f0942a176ebcb8d824b567ee
author          Michael Stahl <[email protected]>     Fri Mar 18
21:30:07 2022 +0100
committer       Michael Stahl <[email protected]>     Thu Jun 16
19:18:40 2022 +0200

tdf#134759 sw: clear items in SwAttrSet::CopyToModify()


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=102593
[Bug 102593] [META] Paste bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to