[Libreoffice-bugs] [Bug 132976] New: FILEOPEN DOCX Text box horizontal size grows with relative width to left margin

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue May 12 12:18:56 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=132976

            Bug ID: 132976
           Summary: FILEOPEN DOCX Text box horizontal size grows with
                    relative width to left margin
           Product: LibreOffice
           Version: 4.3.0.4 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisected, bisected, regression
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: libreoffice at nisz.hu
                CC: nemeth at numbertext.org, vmiklos at collabora.com
            Blocks: 104442

Created attachment 160718
  --> https://bugs.documentfoundation.org/attachment.cgi?id=160718&action=edit
Example file from Word

Attached document contains a text box with page number inserted from Word using
the Header / Footer tools -> Page number -> On page margin -> Page X ->
Emphasized band on the left. 
When opening this file in Writer, the text box horizontal size grows
significantly.
Same preset has a right side variant, which works: relative width from right
margin opens with correct size.


Steps to reproduce:
    1. Open attached document 
    2. Or insert a custom Word page number field with:
    3. Header / Footer tools -> Page number -> On page margin -> Page X ->
Emphasized band, save document and open in Writer

Actual results:
Text box is almost as wide as the page instead of about 2cm.

Expected results:
Narrow box at the left margin.

LibreOffice details:
Version: 7.0.0.0.alpha1+ (x64)
Build ID: 0e3196c49b84651df20b770d5cd7f0bbb19dfc40
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

Also happens in:
Verzió: 6.0.0.3
Build az.: 64a0f66915f38c6217de274f0aa8e15618924765
CPU szálak: 4; OS: Windows 6.3; Felületmegjelenítés: GL; 
Területi beállítások: hu-HU (hu_HU); Calc: CL

Version: 5.0.0.5
Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b
Locale: hu-HU (hu_HU)

Version: 4.3.0.4
Build ID: 62ad5818884a2fc2e5780dd45466868d41009ec0

But not in: 
Verzió: 4.2.0.4
Build az.: 05dceb5d363845f2cf968344d7adab8dcfb2ba71

Bibisected using bibisect-win32-4.3 to: 
URL:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=166af05c63598426c375544b5e1e01818aa13747
author  Miklos Vajna <vmiklos at collabora.co.uk>  2014-01-27 17:51:50 +0100
committer       Miklos Vajna <vmiklos at collabora.co.uk>  2014-01-27 18:00:10
+0100

DOCX import: handle wp14:pctWidth for Writer TextFrames

Adding CC to: Miklos Vajna


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104442
[Bug 104442] [META] OOXML shape (DrawingML and VML) related issues
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200512/b5a66357/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list