<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 - Erratic CTRL+Home in Writer documents with Headers and HIDDEN Sections"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=123817">123817</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Erratic CTRL+Home in Writer documents with Headers and HIDDEN Sections
          </td>
        </tr>

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

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

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

        <tr>
          <th>OS</th>
          <td>Windows (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>gazzaro@gazzaro.it
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
CTRL+Home works like this:

    1. Cursor INSIDE a section: on pressing CTRL+Home ONCE the cursor goes to
the beginning of the Section, not the Document (likewise CTRL+End goes to the
end of the Section, not the end of the doc).
    2. Cursor INSIDE a section: on pressing CTRL+Home TWICE the cursor does the
same, while CTRL+End TWICE sends the cursor to the end of the doc.
    3. Cursor OUTSIDE a section: on pressing CTRL+Home ONCE (or more) the
cursor  goes to the end of the paragraph (CTRL+End correctly goes to the end of
the doc).
    4. If the document uses Headers and Hidden sections at the beginning,
CTRL+Home is erratic.


Steps to Reproduce:
1.Create Header
2.Insert Hidden Section at the very beginning of the document
3.Add text out of section as well as further sections

Actual Results:
There is a Hidden Section at the very beginning of the document, above this
line.
The document has a Header. No Header documents seem to work OK...
This text is OUTSIDE Sections. CTRL+Home does not work from here.
___________________________________________________________________
This is Section One
CTRL+Home works like this:
    1. Cursor INSIDE a section: on pressing CTRL+Home ONCE the cursor goes to
the beginning of the Section, not the Document (likewise CTRL+End goes to the
end of the Section, not the end of the doc).
    2. Cursor INSIDE a section: on pressing CTRL+Home TWICE the cursor does the
same, while CTRL+End TWICE sends the cursor to the end of the doc.
    3. Cursor OUTSIDE a section: on pressing CTRL+Home ONCE (or more) the
cursor  goes to the end of the paragraph (CTRL+End correctly goes to the end of
the doc).
    4. If the document uses Headers and Hidden sections at the beginning,
CTRL+Home is erratic.
End of Section One
___________________________________________________________________

Text OUTSIDE Sections

___________________________________________________________________
This is Section Two
CTRL+Home works within this Section...
End of Section Two
___________________________________________________________________

Text OUTSIDE Sections.

___________________________________________________________________
This is Section Three
CTRL+Home works within this Section...
End of Section Three
___________________________________________________________________

Text OUTSIDE Sections
Put cursor here and try CRTL+Home.

Expected Results:
CTRL+Home should go to the top of the Document. CTRL+End to the bottom.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 6.1.5.2 (x64)
Build ID: 90f8dcf33c87b3705e78202e3df5142b201bd805
CPU threads: 8; OS: Windows 10.0; UI render: default; 
Locale: en-GB (it_IT); Calc: group threaded</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>