Bug 143158 - Alphabetical index field: allow "Edit Index Entry" to open on double-click
Summary: Alphabetical index field: allow "Edit Index Entry" to open on double-click
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Andreas Heinisch
URL:
Whiteboard: target:7.5.0
Keywords:
Depends on:
Blocks: Writer-UX Fields-Dialog
  Show dependency treegraph
 
Reported: 2021-07-02 13:12 UTC by R. Green
Modified: 2023-01-05 11:23 UTC (History)
4 users (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 R. Green 2021-07-02 13:12:13 UTC
Version: 7.1.3.2 / LibreOffice Community
Build ID: 47f78053abe362b9384784d31a6e56f8511eb1c1
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Calc: threaded

It is very frequently necessary to open and close the "Edit Index Entry" dialog (Edit > reference > index Entry), when creating book indexes. This is slow and inconvenient from the menu; and creating a shortcut can be tricky (Tools > Customize > Keyboard, can be intimidating, and there is the problem of what shortcut to choose).

SUGGESTION: The obvious solution, if possible, is to allow the user to open the dialgue using the mouse. e.g. double click on the Alphabetical index field (in grey).
Comment 1 Xisco Faulí 2022-05-03 12:23:49 UTC
I think this issue needs input from the UX team
Comment 2 Heiko Tietze 2022-05-04 09:59:01 UTC
Usually we don't respond to double click on fields. The context menu (likewise the main menu Edit > Reference > Index Entry) offers "Index Entry..." (the cursor must not be at the end of the selection and therefore it must not be selected, which is a bit weird).
Comment 3 Cor Nouws 2022-05-10 09:50:06 UTC
(In reply to Heiko Tietze from comment #2)
> Usually we don't respond to double click on fields.

But that is not per se an argument against the change?

> The context menu
> (likewise the main menu Edit > Reference > Index Entry) offers "Index
> Entry..."

Which would lead to the conclusion that this is a WFM?
What do you think, greenandpleasant2000-support@yahoo.co.uk?
Comment 4 Heiko Tietze 2022-05-12 08:15:49 UTC
The topic was on the agenda of the design meeting.

And in contrast to my comment 2 it is possible to double click fields to get the edit dialog. So we should do the same for index entries. Also since the command state, which defines whether it is shown, depends on how you focus the index entry. So it won't be shown if the cursor is at the end (but the begin works) nor if a multi-selection of two or all characters is done. I assume this to be a different bug - and a challenge for implementation the double-click.
Comment 5 Commit Notification 2022-10-01 19:59:02 UTC
Andreas Heinisch committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/2a7fcaf582df3ada57ca519b50e29011973a1b6f

tdf#143158 - Handle double clicks on alphabetical indices

It will be available in 7.5.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 Stéphane Guillou (stragu) 2023-01-05 11:23:01 UTC
Fix verified in:

Version: 7.5.0.1 (X86_64) / LibreOffice Community
Build ID: 77cd3d7ad4445740a0c6cf977992dafd8ebad8df
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

OOo 3.3 didn't allow that either.

Thanks everyone!