Bug 136964 - Toggling between all content navigation view and Headings content navigation view results in different expanded headings
Summary: Toggling between all content navigation view and Headings content navigation ...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All All
: low minor
Assignee: Jim Raykowski
URL:
Whiteboard: target:7.1.0
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-23 01:55 UTC by Jim Raykowski
Modified: 2020-10-08 19:28 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
expanded headings in content navigation view difference (485.59 KB, application/x-matroska)
2020-09-29 20:52 UTC, Jim Raykowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Raykowski 2020-09-23 01:55:59 UTC
Should expanded headings in Headings content navigation view and all content navigation view be made to show as the same?

To repro open a document with an outline structure and expand some headings in Navigator. Use the Content Navigation View button in the Navigator toolbox to toggle to Headings content navigation view and back.

Another difference between these views is how outline tracking behaves. In Headings content navigation view, outline tracking default mode does not always leave expanded outlines expanded when tracking.
Comment 1 Timur 2020-09-29 11:57:33 UTC
Not easy to follow. Please put a single screenshot with all marked details.
Comment 2 Timur 2020-09-29 12:00:14 UTC Comment hidden (obsolete)
Comment 3 Jim Raykowski 2020-09-29 20:52:23 UTC
Created attachment 165956 [details]
expanded headings in content navigation view difference

@Timur, I've attached a short video demo in hope that it will be easier to understand the issue.
Comment 4 Timur 2020-09-30 06:59:53 UTC
Sorry, I don't understand. I don't see a problem with toggling, seems it expands and  shrinks all, but if we manually change that, it remembers it. 
Maybe someone else will. Let me add UX.
Comment 5 Heiko Tietze 2020-09-30 08:20:38 UTC
Content navigation view is just a filter for the Navigator. And I don't see why this should behave like a different view. So keeping the expanded state of nodes make sense.
Comment 6 Commit Notification 2020-10-08 19:28:00 UTC
Jim Raykowski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/95438b18160a8b6e51c30c6566e40f5aeaf94f1f

tdf#136964 Writer Navigator: Use same Headings expanded states

It will be available in 7.1.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.