<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 - problem when numbering the headings 1-2-3 in docx format upon restarting the document"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=130446">130446</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>problem when numbering the headings 1-2-3 in docx format upon restarting the document
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>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>shariqkeen@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
problem when numbering the headings 1-2-3, as described here in this screenshot
video <a href="https://drive.google.com/open?id=19GVYu6Aw8MQqFd5JKR5qafng8RoAXcn5">https://drive.google.com/open?id=19GVYu6Aw8MQqFd5JKR5qafng8RoAXcn5</a> 

problem description according to what is shown in video: on reopening the doc,
i achieved the numbers 3 and 3.1 only after clicking the update button, but
that too didnt work the next time on reopening as numbering wasnt present and
after i switched on the numbering again manually it was the number 4 for every
outline level ie heading 1-2-3

happens everytime, create any doc and reopen office once and twice for both
observations in succession

problem occurs only with docx and not odt, using tools->chapter numbering still
has issue though a little different.

after numbering using tools->chapter numbering for docx format: on first doc
restart- numbering updates after clicking 'update selected style' and same
number gets stuck for every level newly entered as can be seen in this video
<a href="https://drive.google.com/open?id=13q4uG3xV_BtsU1y2O2TCQwHjaP6q32_Y">https://drive.google.com/open?id=13q4uG3xV_BtsU1y2O2TCQwHjaP6q32_Y</a> 

discussion at
<a href="https://ask.libreoffice.org/en/question/227835/problem-when-numbering-the-headings-1-2-3-in-docx-format-upon-restarting-the-document/">https://ask.libreoffice.org/en/question/227835/problem-when-numbering-the-headings-1-2-3-in-docx-format-upon-restarting-the-document/</a>

 observed in linux and MS.

Steps to Reproduce:
1.save doc in docx format after turning on numbering for the the headings 1-2-3
either from tools->chapter numbering or directly from bullet numbering button
2. restart office and reopen the docx file and enter new headings after the
previous ones. the new headings dont take the numbering according to the
previously present headings but restarts from number 1
3. clicking the 'update selected style' button fixes the issue for one time but
that too doesnt work if doc is reopened/restarted or upon entering new headings
after clicking 'update selected style' on next reopen. if not number 1,
headings of all outline level take a same number after 2nd restart or after
clicking 'update selected style' button on 2nd restart.

Actual Results:
numbering restarts from 1 on 1st restart. if not number 1, headings of all
outline level take a same number after 2nd restart or after clicking 'update
selected style' button on 2nd restart.

Expected Results:
heading number should start in continuity to previously present headings and
not from one. if headings upto number 6 is present then new heading must take
the number 7 or whatever applies to that outline level in similar way.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
heading number should start in continuity to previously present headings and
not from one. if headings upto number 6 is present then new heading must take
the number 7 or whatever applies to that outline level in similar way.

discussion at
<a href="https://ask.libreoffice.org/en/question/227835/problem-when-numbering-the-headings-1-2-3-in-docx-format-upon-restarting-the-document/">https://ask.libreoffice.org/en/question/227835/problem-when-numbering-the-headings-1-2-3-in-docx-format-upon-restarting-the-document/</a></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>