(I am new to LibreOffice, but I like it. Sorry if I do not use the correct terms. I am also new to this Bugzilla, and I was not able to find, whether the bug was reported earlier. Sorry if it was.)
The RTF document (I can send a small example) was originally created in MS Word. The heading part and part of the content was created with frames/tables (?) around the text.
I believe it worked fine with LibreOffice Writer 6.3.4. After switching to 6.4.1, the texts in the document that were framed are not shown -- just empty rectangles.
A RTF browser (MS Windows, Total Commander, F3 - Lister) shows the content is there.
When experimenting with the file, right-mouse button click (context menu) + Wrap > In Background causes the text appear. (The Wrap Through is set by default.)
I do not know the internals, but the rectangles are as if white-colour filled instead of transparent.
Steps to Reproduce:
1. Open the specific RTF document. (Text in the frame is not visible.)
2. Mouse right click -- Wrap -- In Background -- this makes it visible.
3. Save (without changing the format) and open again -- not visible again.
Text invisible (obscured by the white area of the frame).
User Profile Reset: No
I do not know how to send the file sample.
Created attachment 158311 [details]
The sample file that shows the problem.
To add: This is not related to tables. It is related to Frames.
I believe it worked differently in 6.3.4, but I am not sure actually (working on more computers).
Thank you for reporting the bug. I can confirm the bug present in
Version: 18.104.22.168.alpha1+ (x86)
Build ID: ec7374ff84c71edfbb30d6e4dc5b486b6df7107f
CPU threads: 2; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default; VCL: win;
TinderBox: Win-x86@42, Branch:master, Time: 2019-11-10_21:37:30
Locale: en-US (en_US); UI-Language: en-US
But, not in
(In reply to Durgapriyanka from comment #3)
> Thank you for reporting the bug. I can confirm the bug present in
> Version: 22.214.171.124.alpha1+ (x86)
Can reproduce in:
Version: 126.96.36.199.alpha1+ / LibreOffice Community
Build ID: bb54d6d8241a06a6772052b77b67d6a4f686426c
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-06-11_20:14:38
I believe the issue with empty frames hiding text is described in Bug 71920. (But interestingly, it's thought to be inherited from OpenOffice in that bug...)
I can confirm that the issue with not saving the "Background wrap" setting is specific to RTF, as converting to ODT keeps the setting when reopened.
(In reply to Petr Prikryl from comment #0)
> The RTF document (I can send a small example) was originally created in MS
> Word. The heading part and part of the content was created with
> frames/tables (?) around the text.
Could you please say what Word version did you use to create the sample file you sent to show this bug? Because I used "Microsoft Word Version 2207 Build 16.0.15427.20182 64 bits" (Microsoft Office 365) and it rendered the document exactly the same as LibreOffice 188.8.131.52 x64 did.
As the RTF format was created by Microsoft to ease exporting Word documents to other text processors, the reference implementation, IMHO, is Microsoft Word. If I am using the latest Word version available to Microsoft Office 365 subscribers, I suspect that maybe the bug is in the software version you used (maybe it lacks a service pack fixing the bug).
I will attach PDFs created by Word 16.0.15427.20182 and by LibreOffice 184.108.40.206 to show that LibreOffice is doing exactly the same as Word.
Created attachment 181748 [details]
PDF created with Word from the sample RTF
Created attachment 181749 [details]
PDF created with LibreOffice from the sample RTF