Bug 158103 - allow sub-sections to be collapsible in Navigator
Summary: allow sub-sections to be collapsible in Navigator
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
Whiteboard: target:24.2.0 inReleaseNotes:24.2
Depends on:
Blocks: Navigator Section
  Show dependency treegraph
Reported: 2023-11-07 16:47 UTC by Tracey
Modified: 2023-12-11 17:01 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

Navigator sections hierarchy demo (697.98 KB, video/x-matroska)
2023-11-22 07:37 UTC, Jim Raykowski
nested sections (19.21 KB, image/png)
2023-12-11 17:01 UTC, Tracey

Note You need to log in before you can comment on or make changes to this bug.
Description Tracey 2023-11-07 16:47:34 UTC
allow sub-sections in the navigator to be "hidden" or "revealed" by making the sub--section branch "collapsible/fold-able" (like the bookmarks & sections)

Activate by clicking on a:
►	right pointing triangle
▼	down pointing triangle

Thanks, Tracey
Comment 1 Stéphane Guillou (stragu) 2023-11-21 20:27:00 UTC
Which version do you use, Tracey?
Please paste here the full version information copied from Help > About LibreOffice.
Could you please also provide an example document in which we can see such sub-sections? I'm not exactly sure which part of the Navigator you are referring to.
(Outline Folding is already available for Headings since LO 7.2)
Comment 2 Jim Raykowski 2023-11-22 07:37:53 UTC
Created attachment 190955 [details]
Navigator sections hierarchy demo

Hi Tracey,

Is what is shown in the attached demo what you are after?
Comment 3 Stéphane Guillou (stragu) 2023-11-22 07:57:03 UTC
Right, now I understand it's about actual Sections, nested. My bad.
Looks great, Jim, thanks for picking it up.
Marking as "new", Tracey can confirm that's what she was hoping for.

Indentation of nested sections was already in OOo 3.3, but not collapsible, so marking as inherited.
Comment 4 Jim Raykowski 2023-11-22 08:49:42 UTC
Link to the patch used for the demo minus the Protect and Hide section context menu items which is enhancement bug 157681:
Comment 5 Commit Notification 2023-11-27 17:57:02 UTC
Jim Raykowski committed a patch related to this issue.
It has been pushed to "master":


tdf#158103 Enhancement to display Sections as an expandable/

It will be available in 24.2.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:

Affected users are encouraged to test the fix and report feedback.
Comment 6 Stéphane Guillou (stragu) 2023-11-28 13:48:21 UTC
Fix verified in:

Version: (X86_64) / LibreOffice Community
Build ID: 5589659829f8a1cef8ca1c8a468732105bbe231b
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Added to release notes: https://wiki.documentfoundation.org/index.php?title=ReleaseNotes%2F24.2&type=revision&diff=711178&oldid=710497

Thanks Tracey and Jim!
Comment 7 Tracey 2023-12-11 17:01:38 UTC
Created attachment 191364 [details]
nested sections

sub-sections shown