Download it now!
Bug 120921 - Function “Navigate By” does not Work Correctly if Cursor is Located in Header or Footer
Summary: Function “Navigate By” does not Work Correctly if Cursor is Located in Heade...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Navigate-By
  Show dependency treegraph
Reported: 2018-10-25 21:21 UTC by Harald Koester
Modified: 2019-10-27 07:16 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

Example file with instructions in order to reproduce the bug (13.64 KB, application/vnd.oasis.opendocument.text)
2018-10-25 21:21 UTC, Harald Koester

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Koester 2018-10-25 21:21:51 UTC
Created attachment 146017 [details]
Example file with instructions in order to reproduce the bug

In order to reproduce the bug open the attached document and follow the instructions inside the document.

With version 6.0.6 the behaviour is different but also buggy.

The Navigate By function already exists in version 3.3.0. But how to seize this function has been changed during the different versions. This bug already exists in version 3.3.0. Thus inherited from OOo.
Comment 1 Dieter 2018-10-26 08:32:30 UTC
I confirm this with

Version: (x64)
Build ID: 8274c4c62df5b937b3f0bec9e1eeca85f3b219d4
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-10-22_01:47:50
Locale: en-US (de_DE); Calc: CL
Comment 2 Dieter 2018-10-26 09:22:49 UTC
Jim, perhaps you are interestred in this bug, because you've fixed other bugs for Navigate-By funtion

cc: Jim Raykowski
Comment 3 QA Administrators 2019-10-27 03:37:56 UTC Comment hidden (obsolete)
Comment 4 Jim Raykowski 2019-10-27 07:16:37 UTC
Sorry, I didn't see I was added to this one until after receiving the untouched bug notification.

Maybe this bug is caused by how outline nodes are organized in document model. Notice in the Navigator Headings are listed in the following order:

Header Heading
Footer Heading
Heading 1
Heading 2
Heading 3

SwCursorShell::GotoNextOutline() and SwCursorShell::GotoPrevOutline() are places to start to look for a solution. These both lead to SwCursor::IsSelOvr which to me looks challenging.