Created attachment 161603 [details] Example file from Word Attached document contains a Word preset “Page number in right margin” shape that was inserted into the header. The shape has its width defined as Relative to Right margin, 80%. This is the right side pair of the document in bug #132976. When opened in Writer the shape has a huge width, about 17 cm instead of 2. Steps to reproduce: 1. Open attached document Actual results: Shape has huge width. Expected results: Shape should have 2cm width, or 80% of the 2.5 cm right margin. LibreOffice details: Version: 7.1.0.0.alpha0+ (x64) Build ID: 68095e63a8ad8f6079b15e475179a14a64da36d3 CPU szálak: 4; OS: Windows 6.3 Build 9600; Felületmegjelenítés: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: hu-HU Calc: CL
Created attachment 161604 [details] Screenshot of the original document side by side in Word and Writer
Thank you for reporting the bug. I can confirm the bug present in Version: 6.4.0.0.alpha1+ (x86) Build ID: ec7374ff84c71edfbb30d6e4dc5b486b6df7107f CPU threads: 2; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default; VCL: win; TinderBox: Win-x86@42, Branch:master, Time: 2019-11-10_21:37:30 Locale: en-US (en_US); UI-Language: en-US Calc: threaded
Szabolcs Toth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/330ed8120e9881656716d70d87b9f49f861f0bfa tdf#133670 DOCX import: fix shape width relative to right margin It will be available in 7.1.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Szabolcs Toth committed a patch related to this issue. It has been pushed to "libreoffice-7-0": https://git.libreoffice.org/core/commit/718683ab1582849ea43797e404c6453ce2fbd424 tdf#133670 DOCX import: fix shape width relative to right margin It will be available in 7.0.0.1. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.