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

            Bug ID: 155662
           Summary: FILEOPEN RTF Direct formatting leaks through line
                    break
           Product: LibreOffice
           Version: 7.4.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
            Blocks: 113340

Created attachment 187690
  --> https://bugs.documentfoundation.org/attachment.cgi?id=187690&action=edit
Example file from Word 2016

Attached file contains a paragraph in the header: first line is line break
character direct formatted with hidden 20 pt font, the second line contains a
letter with only default paragraph style.

When opened in Writer, the first lines formatting leaks to the beginning of the
second: typing a character in the second line gets the hidden 20pt formatting,
unlike in Word.

1. Open attached file
2. Make sure the Options - Writer - Formatting Aids - Hidden characters is
enabled.
3. Go to the header, type a letter before the a
-> new letter is hidden, 20 pt

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 70fd835b4cf75e386ee115c705241a4059fb68a8
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded

Seems to have started in 7.4:

https://git.libreoffice.org/core/+/3afe4f66f7266ede9922ce0682db38c9369349b7

author  Miklos Vajna <[email protected]>    Mon Mar 21 10:20:34 2022 +0100
committer       Miklos Vajna <[email protected]>    Mon Mar 21 11:23:32
2022 +0100
tree    e29c66fb0abe74b2d3ff709dcc494891f79f669b
parent  a13faccd7e8c6503e96e9342a8615b4542b0601f [diff]

sw clearing breaks: add RTF filter

Interestingly before this the hidden 20pt formatting was not applied at all to
the line break character. Can't say this was good before, just differently bad.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=113340
[Bug 113340] [META] RTF (text) paragraph-related issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to