Bug 136643

Summary: FILESAVE: DOCX: Incorrect frame size in MSO after RT
Product: LibreOffice Reporter: Xisco Faulí <xiscofauli>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: aron.budea, libreoffice, tibor.nagy.extern, xiscofauli
Priority: medium Keywords: bibisected, bisected, filter:docx, regression
Version: 7.1.0.0.alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=133702
https://bugs.documentfoundation.org/show_bug.cgi?id=115625
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 104461    
Attachments: Comparison MSO 2010 and LibreOffice 7.1 master after RT
Comparison MSO and LO 7.1+ fileopen and RT

Description Xisco Faulí 2020-09-10 11:49:40 UTC
Created attachment 165358 [details]
Comparison MSO 2010 and LibreOffice 7.1 master after RT

Steps to reproduce:
1. Open attachment 100919 [details] from bug 78904
2. Save it as DOCX
3. Open the new generated file in MSO ( I used MSO 2010 )

-> The frame has shrunk. See comparison image

Reproduced in

Version: 7.1.0.0.alpha0+
Build ID: 63d4d3421fec5a4e9e88dcee2992cda38cc7452a
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

[Bug found by office-interoperability-tools]
Comment 1 Xisco Faulí 2020-09-10 11:50:54 UTC
Regression introduced by:

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

author	Tibor Nagy <nagy.tibor2@nisz.hu>	2020-07-29 11:10:04 +0200
committer	László Németh <nemeth@numbertext.org>	2020-08-07 11:14:46 +0200
commit e5f0c4dd632d3c4a9eea36f65974d6004ac07983 (patch)
tree 410ab83ff6793bf8a54ebf92da1f3d1915fcc99e
parent 75b45d43b53abd457c98f47078ca7ff3c492ce2c (diff)
tdf#133702 DOCX export: fix frame anchor position

Bisected with: bibisect-linux64-7.1$

Adding Cc: to Tibor Nagy
Comment 2 Timur 2020-10-02 10:39:06 UTC
Created attachment 166032 [details]
Comparison MSO and LO 7.1+ fileopen and RT

I wouldn't say this is RT problem only, fileopen is already wrong, since OO. 
Maybe related to bug 115625. 
DOCX is 2007 but same if resaved in MSO.
Comment 3 Xisco Faulí 2020-12-09 16:22:37 UTC
Still reproducible in

Version: 7.2.0.0.alpha0+
Build ID: 84af20ef3ea72190784e9e7be820684c2558ba8c
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 4 Justin L 2023-03-27 16:09:47 UTC
Too bad this patch wasn't reverted as soon as this problem was found.