Bug 123328 - FILESAVE DOCX Shape resizes in attached file
Summary: FILESAVE DOCX Shape resizes in attached file
Status: VERIFIED DUPLICATE of bug 141786
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on: 122966
Blocks: DOCX-Grouped-Shapes VML-Shapes
  Show dependency treegraph
 
Reported: 2019-02-11 09:32 UTC by NISZ LibreOffice Team
Modified: 2021-08-05 08:33 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
The original file (3.30 MB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-02-11 09:33 UTC, NISZ LibreOffice Team
Details
The original file saved in LO (3.29 MB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2019-02-11 09:33 UTC, NISZ LibreOffice Team
Details
Screenshot of the original and exported document side by side in Writer (319.32 KB, image/png)
2019-02-11 09:34 UTC, NISZ LibreOffice Team
Details
The original document in Word and the Writer-saved version after reload in Writer (790.30 KB, image/png)
2021-05-17 07:10 UTC, NISZ LibreOffice Team
Details
The original document and its LO-saved version in Word (857.47 KB, image/png)
2021-07-26 08:32 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2019-02-11 09:32:38 UTC
Description:
The green rectangle on the first page resizes after saving the attached file in LO as docx.

Steps to Reproduce:
    1. Open the attached original file in LO.
    2. Save the file as docx.
    3. Reload.
    4. Notice the changes.

Actual Results:
The green rectangle on the first page has a smaller size after saving.

Expected Results:
The green rectangle should stay the same even after saving in LO.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 NISZ LibreOffice Team 2019-02-11 09:33:24 UTC
Created attachment 149094 [details]
The original file
Comment 2 NISZ LibreOffice Team 2019-02-11 09:33:50 UTC
Created attachment 149095 [details]
The original file saved in LO
Comment 3 NISZ LibreOffice Team 2019-02-11 09:34:09 UTC
Created attachment 149096 [details]
Screenshot of the original and exported document side by side in Writer
Comment 4 Durgapriyanka 2019-02-12 15:00:55 UTC
Thank you for reporting the bug. I confirm the bug present in

Version: 6.3.0.0.alpha0+
Build ID: b6b28931435e44aca92b8c0e1659f701e3ed1a87
CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-01-30_06:57:04
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 5 Xisco Faulí 2019-02-13 12:16:39 UTC
Also reproduced in

Version: 5.4.0.0.alpha0+
Build ID: 0d658dfc8ffdc91f3dcb2bd34dde1dbae76ad8ae
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: x11; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

in previous versions the green frame was gone after RT
Comment 6 Xisco Faulí 2019-02-13 12:22:01 UTC
(In reply to Durgapriyanka from comment #4)
> Thank you for reporting the bug. I confirm the bug present in
> 
> Version: 6.3.0.0.alpha0+
> Build ID: b6b28931435e44aca92b8c0e1659f701e3ed1a87
> CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; 
> TinderBox: Win-x86@42, Branch:master, Time: 2019-01-30_06:57:04
> Locale: en-US (en_US); UI-Language: en-US
> Calc: threaded

Obviously, the problem is worse now.... In the version mentioned above, *all shapes* are gone. Please, be more careful when you confirm bugs, otherwise, we need spend time double checking the bugs you confirm...
Comment 7 Xisco Faulí 2019-02-13 12:34:10 UTC
In master, all shapes are gone due to bug 122966
Comment 8 NISZ LibreOffice Team 2020-09-03 07:53:18 UTC
Grouped shape in VML.
Comment 9 NISZ LibreOffice Team 2021-05-17 07:10:00 UTC
Created attachment 172077 [details]
The original document in Word and the Writer-saved version after reload in Writer

Looks quite okay now:

Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 91330c503b7eb91d777978018b66890af87cf8f5
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL

Some parts are vertically off a bit; this can be seen best around the crosshair shapes on the margins (this is the same in Word/Writer).
Comment 10 NISZ LibreOffice Team 2021-07-26 08:32:16 UTC
Created attachment 173843 [details]
The original document and its LO-saved version in Word

This looks good now, even the small grouped circles highlighted on attachment 172077 [details], and the green rectangle at the bottom 
since:

https://git.libreoffice.org/core/+/b33634a5c07c8f7032967d8e939100a50e0152ae

author	Regina Henschel <rb.henschel@t-online.de>	Sun Jul 11 15:31:58 2021 +0200
committer	Regina Henschel <rb.henschel@t-online.de>	Tue Jul 13 10:56:31 2021 +0200

tdf#141786 correct position of child elements in group
Comment 11 NISZ LibreOffice Team 2021-07-26 08:32:43 UTC

*** This bug has been marked as a duplicate of bug 141786 ***
Comment 12 NISZ LibreOffice Team 2021-08-05 08:33:53 UTC
Verified in:

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ad1b12686da88bea57582df10fa85268ada209b8
CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: threaded