Bug 146294 - EDIT INDEX ENTRY help file explains "End arrows" wrongly
Summary: EDIT INDEX ENTRY help file explains "End arrows" wrongly
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.4.0
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-18 11:22 UTC by R. Green
Modified: 2022-04-06 14:05 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample file with index entries (17.69 KB, application/vnd.oasis.opendocument.text)
2022-01-05 12:47 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description R. Green 2021-12-18 11:22:15 UTC
Version: 7.1.5.2 / LibreOffice Community
Build ID: 85f04e9f809797b8199d13c421bd8a2b025d52b5
CPU threads: 2; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Calc: threaded

1. Go to the LO Writer "Edit Index Entry" help file:

https://help.libreoffice.org/latest/en-GB/text/swriter/01/02160000.html?&DbPAR=WRITER&System=UNIX

2. Look at the entries for "End arrow to left" and "End arrow to Right". The explanations do not accord with the observed behaviour in Writer, and, AFAICS, are wrong.

ACTUAL BEHAVIOUR

In the program, clicking the "End arrow to left" selects the PREVIOUS index "Entry" of the same name – NOT the first entry.

Similarly, clicking the "End arrow to right" selects the NEXT index "Entry" of the same name – NOT the last entry.
Comment 1 Rafael Lima 2022-01-03 13:02:09 UTC
I can confirm the reported behavior.

Buttons "End arrow to left" and "End arrow to right" only appear when there are two or more entries with the same name. Using these buttons navigate through all entries with the same name (left = previous; right = next).

I think we also need to add tooltips to these buttons in the dialog as well, to make it clearer to the user what will happen when they're clicked.
Comment 2 Rafael Lima 2022-01-05 12:47:04 UTC
Created attachment 177328 [details]
Sample file with index entries

Here's a sample file showing the problem. It contains some Index entries, among which the entry LibreOffice is repeated 4 times.

If you right click any of the "LibreOffice" entries and choose Index Entry, the arrows to navigate entries with the same name will appear in the "Edit Index Entry" dialog. Note that they work as previous/next buttons instead of first/last, iterating over all entries with the same name.

The other arrows work as previous/next, however considering all entries.
Comment 3 Commit Notification 2022-01-20 12:39:16 UTC
Rafael Lima committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/9fbda3ca63c940dac566076eeeb54a7b33f3da3c

tdf#146294 Fix extended tooltips for Next/Previous buttons

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.