Bug 135043 - RFE sort objects in Navigator in "user-friendly" way
Summary: RFE sort objects in Navigator in "user-friendly" way
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
6.4.5.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard: target:7.4.0
Keywords:
Depends on:
Blocks: Navigator
  Show dependency treegraph
 
Reported: 2020-07-22 12:09 UTC by ajlittoz
Modified: 2022-03-16 07:43 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ajlittoz 2020-07-22 12:09:22 UTC
Navigator is a great tool to get an idea of the structure and complexity of a document. You can quickly navigate to an object by double-clicking on its name.

On documents with rather a small number of "objects" (tables, frames, images, sections, drawing objects -- not checked for OLE objects, hyperlinks and references), the order in which they are listed is not that important since the list is short.

But as soon as the list contains several dozens of elements, being able to clicking designate the desired objects is of prime importance. Even if a systematic naming scheme is adopted, it is not immediate to point to the right one.

Headings and Comments lists are ordered in document appearance, bookmarks in alphabetical order.

It looks like the others are listed in chronological order (i.e. how they were entered in the list without further processing). This makes the lists quite unusable.

Could it be possible to sort the lists, either in document order or alphabetical order of the names?

Maybe document order would be preferred by the majority of users who don't give a specific names to their objects.

What I say above is probably also valid in Calc and Impress. Draw, Math and Base are out of the way.

Possibly related enhancement: #86395
Comment 1 V Stuart Foote 2020-07-22 13:36:41 UTC
Ability to selectively toggle the display order (Navigator & Status bar?) between document sequence, and alphabetized by object name would be quite handy.

Some advantages to doing it globally, but alternative of doing per object type might be easier to implement.

Needs some UI design...
Comment 2 Heiko Tietze 2020-07-22 14:09:47 UTC
(In reply to V Stuart Foote from comment #1)
> Some advantages to doing it globally, but alternative of doing per object
> type might be easier to implement.
> 
> Needs some UI design...

Pretty simple to have a context menu item "Sort" with "(x) Appearance in document" and "( ) Alphabetically" below. 
The bookmark order has been requested in bug 86395 but let's keep this ticket open for the more general request.

Don't see any benefit from doing it globally, besides consistency (this function should be available on similar lists too, eg. bug 134331).
Comment 3 Commit Notification 2022-03-16 07:43:18 UTC
Jim Raykowski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/b802cecbc0f57d0ba0d70434cf619a7e91c7393f

tdf#86395 tdf#104253 tdf#147658 tdf#135043 SwNavigator sort enhancement

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