Bug 148468 - Outline track default should be only track if in Outline subtree
Summary: Outline track default should be only track if in Outline subtree
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Navigator
  Show dependency treegraph
 
Reported: 2022-04-08 12:39 UTC by Eyal Rozenberg
Modified: 2023-01-05 12:31 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Document for experiencing the issue (58.12 KB, application/vnd.oasis.opendocument.text)
2022-04-14 21:01 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2022-04-08 12:39:06 UTC
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.
Comment 1 Stéphane Guillou (stragu) 2022-04-14 15:23:02 UTC
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.
Comment 2 Eyal Rozenberg 2022-04-14 21:01:05 UTC
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.
Comment 3 QA Administrators 2022-04-15 04:01:39 UTC Comment hidden (obsolete)
Comment 4 Buovjaga 2023-01-05 12:31:22 UTC
(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