https://bugs.documentfoundation.org/show_bug.cgi?id=165939

--- Comment #2 from Adalbert Hanßen <[email protected]> ---
I have a very large document with more than 800 pages. There are lots of
bookmarks in it. I just counted then: they are more than 280.

You are right, the bookmarks are shown in order of appearance. But that does
not help because when you want to make a hyperlink using a bookmark, you
probably have an idea about the page of the bookmark and probably you have an
idea about at least parts of the bookmark name, but not on its exact spelling. 

Therefore my first proposal would be to include the page numbers as a column in
the bookmark list as an orientation help. Another, even better help would be to
show the headline associated with the part of the text, to which the bookmark
had been attached. But that might also be a candidate for a third column (by
which one should also be able to sort).

Then I would suggest to make the list page number : bookmark name or even page
number : bookmark name : heading searchable by all its columns.

LibreOffice already has dialogs in which there are two or more columns which
can be ordered by one of them by clicking on it headline, where the sort order
is reversed by any additional click. My proposal was to reuse what has been
programmed there, but with different content.

The first part of my suggestion was this being able to sort by appearance of a
bookmark (and be able to see the associated page numbers and possibly
headlines) or by bookmark name or by headline.

But it would be even better if the dialog to set a hyperlink to a bookmark
would be added a "Search" field (targeting on the bookmark column). Probably
the best user experience would be when typing into the search field, what is in
it would be taken at any stage as a regular expression such that the list of
bookmarks shown below would reduce itself after some characters are typed in,
i.e. if the entered characters preceded by ^.* and followed by .* would be the
regular expression for the filtered list of bookmarks to choose from.

In Windows the file manager has a nice feature (the only one I am missing on my
Linux machine): It has a search field. Once you have written 'Name:' into it,
every additional character reduces the offered files to only those, which have
at least a partial match with what has been typed in there. - The other strange
thing about this Windows-Explorer search field: If you forget to put 'Name:' in
front of your search criterium, the search is one which tries to match the file
name or the content of the file. That's really strange.

What has been entered into the search criterium should filter immediately, not
only after one has typed Return. After the list has been reduced to a size
where you can spot the bookmark you want, of course one should click on that
line to create a hyperlink to the place where this bookmark has been attached
to.

Currently the ability to create hyperlinks to a bookmark is almost impractical
if the number of bookmarks in a document exceeds one page!

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to