The Navigator has the ability to track the position in the actual document within the Navigator subtree. However, there is different tracking logic and toggling for the different categories of items in Navigator. For Headings (= Outline-level = chapters, ugh, naming in LO) - there is "Default", "Focus" and "Off". It's not exactly clear to me what the difference is between the first two, but: Outline tracking should _not_ occur by default when the selected item in Navigator is not itself an outline. You see, when you're browsing some other item category, e.g. comments, and then move around a little in the document surrounding the comment, you don't want the whole comment set out of the Navigator view, and a large sub-tree of numbered Headings appearing. You more typically want to keep the layout you had just interacted with.
Eyal, any chance you could supply an example document that would make it easy to see the issue, along with some steps? I'm having a hard time understanding what it is supposed to look like.
Created attachment 179571 [details] Document for experiencing the issue In the attached document, ensure Outline tracking is set to Default. Comment tracking setting should not matter. Now, open the Navigator. Expand the Comments category and select one of the later comments. There are lots of comments, so the Outline/Chapters/Headings (those names are used interchangeably in LibreOffice, which is a bug in itself IMHO but which some people who shall remain nameless refuse to recognize; but nevermind) are out of view. With the mouse, click the paragraph to which the comment is referring. You will notice the Navigator has scrolled up, to one of the Headings/Outline/Chapters entries. That should not happen. If one is reviewing the comments using the navigator, one does _not_ want to be taken away to a different category, with the relevant comment entries in the Navigator tree out of view.
[Automated Action] NeedInfo-To-Unconfirmed
(In reply to Eyal Rozenberg from comment #2) > Created attachment 179571 [details] > Document for experiencing the issue > > In the attached document, ensure Outline tracking is set to Default. Comment > tracking setting should not matter. > > Now, open the Navigator. Expand the Comments category and select one of the > later comments. There are lots of comments, so the Outline/Chapters/Headings > (those names are used interchangeably in LibreOffice, which is a bug in > itself IMHO but which some people who shall remain nameless refuse to > recognize; but nevermind) are out of view. > > With the mouse, click the paragraph to which the comment is referring. You > will notice the Navigator has scrolled up, to one of the > Headings/Outline/Chapters entries. Repro Arch Linux 64-bit, X11 Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: ed259e5efe432386b54c553cbc644b3b64976852 CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Jumbo Built on 5 January 2023