Bug 150393 - FILEOPEN RTF: Some text and images inside frames are not shown on LibreOffice
Summary: FILEOPEN RTF: Some text and images inside frames are not shown on LibreOffice
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.4.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:rtf
Depends on:
Blocks: RTF Frame
  Show dependency treegraph
 
Reported: 2022-08-13 07:12 UTC by João Paulo
Modified: 2022-08-13 21:05 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample RTF created with JasperReports (53.86 KB, application/msword)
2022-08-13 07:14 UTC, João Paulo
Details
PDF created with Word by opening the sample RTF. (44.72 KB, application/pdf)
2022-08-13 07:15 UTC, João Paulo
Details
Screenshot of OneDrive.Live.com rendering the RTF sample. (164.66 KB, image/png)
2022-08-13 07:19 UTC, João Paulo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description João Paulo 2022-08-13 07:12:17 UTC
Description:
First I would like to point that this bug is not a duplicate from #95555 (where frames are not in the correct Z-order) nor #131072 (where frames with white opaque backgrounds are hiding text under them):  This bug is about text and images inside frames not being shown, unless we resize the frames.

Steps to Reproduce:
1. Open the sample file with Microsoft Word (you can upload it to onedrive.live.com, it will show you how it is supposed to be rendered).
2. Open the sample file with LibreOffice, see there are missing text and images.
3. Verify that LibreOffice does not show all the text that Microsoft Word or OneDrive.com shows.

Actual Results:
LibreOffice hides some text/images inside frames.

Expected Results:
LibreOffice should show all the text and images inside the frames.


Reproducible: Always


User Profile Reset: No



Additional Info:
I tested this with LibreOffice 7.3.4.2 and 7.3.5.2.
Comment 1 João Paulo 2022-08-13 07:14:02 UTC
Created attachment 181750 [details]
Sample RTF created with JasperReports
Comment 2 João Paulo 2022-08-13 07:15:51 UTC
Created attachment 181751 [details]
PDF created with Word by opening the sample RTF.
Comment 3 João Paulo 2022-08-13 07:19:26 UTC
Created attachment 181752 [details]
Screenshot of OneDrive.Live.com rendering the RTF sample.
Comment 4 Telesto 2022-08-13 20:57:32 UTC
Confirm with
Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 86b2bfd34a4f07c54f03c8c8dfe48e0810834628
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

and with
Version: 6.2.9.0.0+ (x86)
Build ID: 5f01fe15eb2661f1f9ce12d1d99dc2a705b462ee
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

and with
4.4.7.2

and in
Versie: 4.2.0.4 
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71

everything visible, but wrongly positioned
Versie: 4.1.0.4 
Build ID: 89ea49ddacd9aa532507cbf852f2bb22b1ace28

not opening with
LibreOffice 3.5.7.2 
Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b

Not a regression, but adding bibisectrequest for some code pointers
Comment 5 m_a_riosv 2022-08-13 21:05:37 UTC
Repro
Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 4e2ce2a460458f17ee4360c45a2da2fc4b4d753e
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL