<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - FILEOPEN DOCX Text box horizontal size grows with relative width to left margin"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=132976">132976</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FILEOPEN DOCX Text box horizontal size grows with relative width to left margin
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>4.3.0.4 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Keywords</th>
          <td>bibisected, bisected, regression
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>libreoffice@nisz.hu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>nemeth@numbertext.org, vmiklos@collabora.com
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>104442
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=160718" name="attach_160718" title="Example file from Word">attachment 160718</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=160718&action=edit" title="Example file from Word">[details]</a></span>
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:
<a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=166af05c63598426c375544b5e1e01818aa13747">https://cgit.freedesktop.org/libreoffice/core/commit/?id=166af05c63598426c375544b5e1e01818aa13747</a>
author  Miklos Vajna <<a href="mailto:vmiklos@collabora.co.uk">vmiklos@collabora.co.uk</a>>  2014-01-27 17:51:50 +0100
committer       Miklos Vajna <<a href="mailto:vmiklos@collabora.co.uk">vmiklos@collabora.co.uk</a>>  2014-01-27 18:00:10
+0100

DOCX import: handle wp14:pctWidth for Writer TextFrames

Adding CC to: Miklos Vajna</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [META] OOXML shape (DrawingML and VML) related issues"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=104442">Bug 104442</a>] [META] OOXML shape (DrawingML and VML) related issues
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>