Bug 160657 - Improve how Writer Navigator Headings are displayed when alphabetically sorted
Summary: Improve how Writer Navigator Headings are displayed when alphabetically sorted
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha0+ Master
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard: target:24.8.0
Keywords: needsUXEval
Depends on:
Blocks: Navigator
  Show dependency treegraph
 
Reported: 2024-04-14 01:27 UTC by Jim Raykowski
Modified: 2024-05-06 08:44 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Demo of proposed change to Headings display format when alphabetically sorted (767.45 KB, video/x-matroska)
2024-04-14 01:27 UTC, Jim Raykowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Raykowski 2024-04-14 01:27:43 UTC
Created attachment 193667 [details]
Demo of proposed change to Headings display format when alphabetically sorted

Currently when Headings are set to display alphabetically sorted they are shown in a hierarchical structure with expand buttons the same as if they were set to display in the order they appear in the document. Perhaps displaying them flat when alphabetically sorted would be an improvement?
Comment 1 Dieter 2024-05-01 11:11:48 UTC
Jim, just to be sure: Floating navigator in video shows current behaviour an navigator in sidebar shows proposed behaviour? If that is right, I would support your idea.

cc: Design-Team
Comment 2 V Stuart Foote 2024-05-01 12:31:19 UTC
Yes, remove the residual hierarchy indents when Headings are sorted alphabetically. To become similar to the shown alpha sort of the Images.

+1
Comment 3 Heiko Tietze 2024-05-02 06:35:18 UTC
+1 for flat. The current implementation is broken anyway since it places H2 from the second chapter wrongly under the first (eg. the "formatted dummy text", extension #132). 

I think the opposite to "Sort Alphabetically" is not as clear as Show/Hide, or the like, to use just one checkbox. We better put the options (o) Sequentially and ( ) Alphabetically in a "Sort" menu. It also allows to add later other criteria such as ( ) Length or ( ) Complexity (kinda ironic, IIRC I was against the alphabetical sorting).
Comment 4 Jim Raykowski 2024-05-02 19:01:53 UTC
(In reply to Dieter from comment #1)
> Jim, just to be sure: Floating navigator in video shows current behaviour an
> navigator in sidebar shows proposed behaviour? If that is right, I would
> support your idea.
I watched the video again. I can see confusion it could cause.

The floating Navigator shows the Headings content when alphabetical sorting is not applied, i.e., the document order parent-child hierarchy display. The sidebar Navigator shows the proposed (semi-)flat display when Headings content is set to display in alphabetical order.

(In reply to V Stuart Foote from comment #2)
> Yes, remove the residual hierarchy indents when Headings are sorted
> alphabetically. To become similar to the shown alpha sort of the Images.
Outline level indents removed in patchset 2 to make a truly flat display:
https://gerrit.libreoffice.org/c/core/+/166068
Comment 5 Commit Notification 2024-05-04 17:29:39 UTC
Jim Raykowski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/3a394f3f8a15623e2ffb9fbcad81bbb3b9856abe

tdf#160657 Improve Writer Navigator Headings display

It will be available in 24.8.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.
Comment 6 Jim Raykowski 2024-05-04 18:55:24 UTC
(In reply to Heiko Tietze from comment #3)
> I think the opposite to "Sort Alphabetically" is not as clear as Show/Hide,
> or the like, to use just one checkbox. We better put the options (o)
> Sequentially and ( ) Alphabetically in a "Sort" menu. It also allows to add
> later other criteria such as ( ) Length or ( ) Complexity (kinda ironic,
> IIRC I was against the alphabetical sorting).
Separate patch or keep this one open and do it here?
Comment 7 Heiko Tietze 2024-05-06 08:44:32 UTC
Follow-up in bug 160951