Bug 141865 - Use a collapsible tree to display items in the cross-reference insertion dialog
Summary: Use a collapsible tree to display items in the cross-reference insertion dialog
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Cross-reference-dialog
  Show dependency treegraph
 
Reported: 2021-04-24 08:23 UTC by Eyal Rozenberg
Modified: 2021-05-03 11:12 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2021-04-24 08:23:58 UTC
The navigation side-bar displays the document headings using a tree widget, with lines from parent to child and collapse/expand widgets for items with children.

However - in the cross-reference insertion dialog, while we do get indentation of items (for LTR text anyway, see 131725) - we don't have these two elements of parent-child lines and of collapse/expand.

It would be useful to have them (although with care not to increase spacing between lines, as the number of items viewable at once is already not so high.)
Comment 1 Heiko Tietze 2021-05-03 10:08:55 UTC
But it's not needed to get see the full outline, you just pick one item from a list. Doubt anyone would collapse the tree.
Comment 2 Eyal Rozenberg 2021-05-03 10:39:11 UTC
(In reply to Heiko Tietze from comment #1)
> But it's not needed to get see the full outline,

It helps see the whole outline if the outline has a lot of items. It also helps you understand what level an item is on even if it is not numbered.

> you just pick one item from a list.

So why even make the widget taller than a single row then? ... :-(

> Doubt anyone would collapse the tree.

1. I would.

2. There's a second motivation, which is more visibility for the outline level of the item.
Comment 3 Heiko Tietze 2021-05-03 11:12:31 UTC
Hm, why not...