Bug 150475 - FILEOPEN RTF Hidden paragraph end marks hidden property not imported
Summary: FILEOPEN RTF Hidden paragraph end marks hidden property not imported
Status: RESOLVED DUPLICATE of bug 131386
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: implementationError
Depends on:
Blocks: RTF-Character
  Show dependency treegraph
 
Reported: 2022-08-18 15:09 UTC by Gabor Kelemen (allotropia)
Modified: 2023-02-13 10:40 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
The example file in current nightly and Word 2010 (110.47 KB, image/png)
2022-08-18 15:09 UTC, Gabor Kelemen (allotropia)
Details
The example file in current nightly and Word 2010 with formatting marks hidden (87.19 KB, image/png)
2022-08-18 15:11 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2022-08-18 15:09:59 UTC
Created attachment 181865 [details]
The example file in current nightly and Word 2010

The attachment 181863 [details] of bug 150474 contains a hidden paragraph end mark at the end of the first Lorem ipsum paragraph.
In Word this causes the following empty paragraph to move up when formatting marks are hidden.
In Writer the empty paragraph would remain.

1, Open attachment 181863 [details] 
2, Hide formatting marks.

There is an empty paragraph between the Lorem and the Nunc paragraphs, unlike in Word.

Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 8475b367298de73aec6abc60a159cc015baf9734
CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded

Also happens way back to 3.5
Comment 1 Gabor Kelemen (allotropia) 2022-08-18 15:11:09 UTC
Created attachment 181866 [details]
The example file in current nightly and Word 2010 with formatting marks hidden
Comment 2 Dieter 2022-09-02 06:38:49 UTC
Gabor, I confirm the described difference when hiding formatting marks, but I don't understand, why behaviour in Writer is wrong. I won't expect layout change when hiding formatting marks. Could you please explain?
=> NEEDINFO

Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 4c96abd81460977d413d4d28e891bbbac5769ede
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL
Comment 3 Gabor Kelemen (allotropia) 2022-09-02 11:01:21 UTC
Hi Dieter

This is the Hidden character property. Characters with this attribute are hidden - so the layout changes - when 
- you try to print the document and turn the Print Preview on (and on paper as well)
- turn ON the Options - Writer - Formatting Marks - Hidden Characters setting and after that press the PI icon. (This is not the default setting in Writer, but it is in Word)

In this example file the hidden attribute of the paragraph end sign is not imported, so it is not hidden in these cases.
Comment 4 Gabor Kelemen (allotropia) 2022-09-04 10:53:31 UTC
ah sorry for setting this to new.
Comment 5 Buovjaga 2023-02-13 10:40:58 UTC
It works now thanks to https://git.libreoffice.org/core/commit/a25eda715591cfa96136bcfd95360156516239d1
tdf#131386 writerfilter: RTF import paragraph mark formatting

*** This bug has been marked as a duplicate of bug 131386 ***