Bug 80271 - FILESAVE: Shape not getting preserved in RT file
Summary: FILESAVE: Shape not getting preserved in RT file
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.0.alpha0+ Master
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: filter:docx
Depends on:
Blocks: OOXML-Shapes
  Show dependency treegraph
 
Reported: 2014-06-20 07:58 UTC by Dinesh
Modified: 2023-02-01 17:15 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
File contains shape (8.18 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2014-06-20 07:58 UTC, Dinesh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dinesh 2014-06-20 07:58:58 UTC
Created attachment 101417 [details]
File contains shape

Problem description: 
File containing shape is not getting preserved because of noFill attribute.

Steps to reproduce:
1. Open the file in LibreOffice
2. Click File -> Save As (Microsoft Word 2007/2010 (.docx))
3. Open saved file in MS Office

Current behavior:
Shape in RT file is not getting preserved

Expected behavior:
Shape in RT file should be preserved
Operating System: All
Version: 4.4.0.0.alpha0+ Master
Comment 1 Sushil Shinde 2014-06-30 07:35:05 UTC
This file has weird issue.

Shape in this file has color properties from theme.
In MS Office, shape can have properties from theme.
These theme properties are stored at theme.xml in  docx package.
Now in this perticular file, theme.xml file is missing from package.
Hence while importing LO is not able to find theme propeties and it is applying
no fill property to shape.
Because of this shape is not visible on LO rendering and it is exported with 'no fill' properties.

So title should be "shape properties are not preserved propertly".

In such scenario I think MS Office applies some default theme properties because shape is visible on MS office even if theme.xml is not available.
Comment 2 QA Administrators 2015-07-18 17:43:15 UTC Comment hidden (obsolete)
Comment 3 Buovjaga 2015-11-06 14:48:00 UTC
Yep, not seeing the ellipse shape in LibO on open.

Win 8.1 32-bit
LibO Version: 5.1.0.0.alpha1+
Build ID: db6a928a420868b2a80ba11c8d46151d16c13624-GL
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-05_22:13:24
Locale: fi-FI (fi_FI)
Comment 4 QA Administrators 2017-12-08 08:07:58 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2019-12-11 03:38:09 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2021-12-11 04:22:05 UTC Comment hidden (obsolete)
Comment 7 Regina Henschel 2023-02-01 17:15:16 UTC
Still no ellipse in Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f1830bff71847a9c17715cff52383956719847fe
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL threaded