<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 - Saving document with form text boxes sets value in max text length property to taborder value FILESAVE FORMCONTROLS"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=114566">114566</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Saving document with form text boxes sets value in max text length property to taborder value FILESAVE FORMCONTROLS
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </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>sbrown@gardenlight.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When I save a document that has a form with text boxes, the max text length of
the text boxes defaults to the same number as the tab order value. Seems like a
field is being written with the wrong property. I can explicitly change the max
text length property and it will persist. But opening the document and editing
again overwrites the with the tab order value.

Steps to Reproduce:
1. Create some form textbox controls - single line input
2. Don't set the max text length property, but set tab order property
3. save
4. close and re-open
5. max text length set to tab order

Actual Results:  
max text length set to tab order

Expected Results:
max text length should probably default to 0. If its set, it should stay set to
that value.


Reproducible: Always


User Profile Reset: No



Additional Info:
Have not tried to use forms until now, so did not notice this before. 


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101
Firefox/57.0</pre>
        </div>
      </p>


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

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