Bug 139297 - docx diagrams: grouping broken
Summary: docx diagrams: grouping broken
Status: RESOLVED DUPLICATE of bug 118693
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
6.2.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Regress-elim-SvxShapePolyPolygonBezier
  Show dependency treegraph
 
Reported: 2020-12-29 03:22 UTC by Dave Gilbert
Modified: 2021-01-25 05:04 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing LO odt (bottom left), LO docx reloaded (upper right), Word (bottom right) (331.12 KB, image/png)
2020-12-29 03:22 UTC, Dave Gilbert
Details
grouptest odt test file (13.74 KB, application/vnd.oasis.opendocument.text)
2020-12-29 03:22 UTC, Dave Gilbert
Details
docx written by LO for grouptest (6.21 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-12-29 03:23 UTC, Dave Gilbert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Gilbert 2020-12-29 03:22:04 UTC
Created attachment 168545 [details]
Screenshot showing LO odt (bottom left), LO docx reloaded (upper right), Word (bottom right)

When saving an odt containing a diagram as docx and reloading it, grouped objects are offset or stretched.

I've got 3 cases that probably overlap:

a) 'grouptest' - about to be attached.
  This renders correctly in MS OneDrive/Word online, but reloading our docx in LO the members of the group are stretched or moved.
  This example has an outer grey block and two arrows, and then 4 groups, (one each coulour) containing some text, a circle and a line terminated with an arrow and blob.  The 4 groups are the same size.  When reloaded the groups are all stretched by different amounts, and the lines are randomly offset outside the group.

  Given it's happy in Word, I'm assuming our problem is import related.

b) ./sw/qa/extras/ooxmlexport/data/kde216114-1.odt
  Saving this existing file as a docx and reloading it produces similar stretching and offsetting;  this doesn't look right in word either, so maybe we've also got an export problem.

c) Where I started was the diagram in tdf#93675

 This looks a lot better after ungrouping.
Comment 1 Dave Gilbert 2020-12-29 03:22:35 UTC
Created attachment 168546 [details]
grouptest odt test file
Comment 2 Dave Gilbert 2020-12-29 03:23:01 UTC
Created attachment 168547 [details]
docx written by LO for grouptest
Comment 3 Dave Gilbert 2020-12-29 03:25:39 UTC
Note I tried to reproduce this problem in Presentation and couldn't - so it maybe writer/docx specific; and I did notice a comment somewhere about Word treating groups differently but not sure where/how
Comment 4 NISZ LibreOffice Team 2020-12-30 09:46:23 UTC
One more case of regression by:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=36bade04d3780bc54c51b46bb0b63e69789658a5

author	Armin Le Grand <Armin.Le.Grand@cib.de>	2018-06-28 19:48:59 +0200
committer	Armin Le Grand <Armin.Le.Grand@cib.de>	2018-07-02 18:03:44 +0200
commit 36bade04d3780bc54c51b46bb0b63e69789658a5 (patch)
tree c4465bf33aa2cda65511a2c094688522e9c9b43a
parent 942f1056b51e53358d42ff8da8a1bbdce9ba5303 (diff)
tdf106792 Get rid of SvxShapePolyPolygonBezier

*** This bug has been marked as a duplicate of bug 118693 ***