Bug 158672 - FILEOPEN RTF Drawing canvas imported as a placeholder image
Summary: FILEOPEN RTF Drawing canvas imported as a placeholder image
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTF-Grouped-Shapes
  Show dependency treegraph
 
Reported: 2023-12-12 21:31 UTC by Gabor Kelemen (allotropia)
Modified: 2023-12-28 03:11 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Word 2010 (59.70 KB, application/msword)
2023-12-12 21:31 UTC, Gabor Kelemen (allotropia)
Details
The example document in Word and Writer (96.40 KB, image/png)
2023-12-12 21:32 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) 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