Bug 158672

Summary: FILEOPEN RTF Drawing canvas imported as a placeholder image
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: dgp-mail
Priority: medium    
Version: 7.5.0.3 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=127806
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 150826    
Attachments: Example file from Word 2010
The example document in Word and Writer

Description Gabor Kelemen (allotropia) 2023-12-12 21:31:19 UTC
Created attachment 191400 [details]
Example file from Word 2010

Attached RTF document contains a drawing canvas object, which contains a textbox, that has a table inside it.

When opened in Writer, the drawing canvas becomes sort of a placeholder image.

1. Open attached document
-> the yellow background shape is not visible, only a placeholder-like image. It should be imported as a grouped shape.

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

Looks like this since 7.5:

https://git.libreoffice.org/core/commit/57d9cc81b058757421cd082e5dbe32a919716807

tdf#127806: RTF import: use shape dimensions for pib picture

Before this there was only the contained teal-bordered frame visible, so this was an improvement overall.

Not to be confused with bug 117638 where two images are grouped and fall apart differently.
Comment 1 Gabor Kelemen (allotropia) 2023-12-12 21:32:06 UTC
Created attachment 191401 [details]
The example document in Word and Writer
Comment 2 Dieter 2023-12-27 11:30:56 UTC
I confirm it with

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 40617d867346956588ac023511f31210107217f4
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded