Bug 154575 - Hide "Update entry from selection" icon in "Edit Index Entry" dialog
Summary: Hide "Update entry from selection" icon in "Edit Index Entry" dialog
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: TableofContents-Indexes-Dialog
  Show dependency treegraph
 
Reported: 2023-04-02 22:06 UTC by sdc.blanco
Modified: 2025-10-25 03:14 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Test file to demonstrate problem (14.58 KB, application/vnd.oasis.opendocument.text)
2023-04-02 22:06 UTC, sdc.blanco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sdc.blanco 2023-04-02 22:06:24 UTC
Created attachment 186421 [details]
Test file to demonstrate problem

1. Use "Edit Index Entry".
2. Select a text string in the document.
3. Click on "Update entry from selection" icon.
   Actual: "Apply to all similar texts" is activated.
4. Click on "Ok"

Actual:  Nothing happens.
Expected:  Either (a) “Update entry from selection“ is not shown for “Edit Index Entry“  (probably the "right answer"), or (b) that it is possible to insert an updated entry (and apply to similar texts).

The attached document provides some index entries and some similar words, with instructions about how to experience the actual behavior.

Probable resolution:

1. "Update entry from selection" icon should not be shown in the "Edit Index Entry" dialog.
2. The three options for text selection should not be shown.

Also tested with 7.6.0.0.alpha0+
Comment 1 Buovjaga 2023-04-05 13:07:13 UTC
(In reply to sdc.blanco from comment #0)
> Created attachment 186421 [details]
> Test file to demonstrate problem
> 
> 1. Use "Edit Index Entry".
> 2. Select a text string in the document.
> 3. Click on "Update entry from selection" icon.
>    Actual: "Apply to all similar texts" is activated.

For me, it is not activated as in checked, but it does appear with some other checkboxes and kind of ruins the layout of the dialog.

> 4. Click on "Ok"
> 
> Actual:  Nothing happens.

Yes, clicking OK does nothing.

The icon was added with b7060e96dfef8e672ae954eb435a9513400c4ea9 in the context of bug 87686.

Heiko recently touched the .ui with 0f9226287fec770c4c9c0fe49b1d7046d995a3e9, so adding him for now.
Comment 2 sdc.blanco 2023-04-05 14:39:45 UTC
(In reply to Buovjaga from comment #1)

Thanks for helpful detailed archaeology!

> For me, it is not activated as in checked, but it does appear with some
> other checkboxes and kind of ruins the layout of the dialog.
reported in bug 154209
Comment 3 Heiko Tietze 2023-05-25 09:29:02 UTC
“Update entry from selection“ refreshes the Entry field according the current selection (the dialog is amodal). There is no point in showing this option in edit mode. 

By hiding it we would solve bug 154209 probably as well.
Comment 4 sdc.blanco 2023-05-25 09:36:48 UTC
(In reply to Heiko Tietze from comment #3)
> By hiding it we would solve bug 154209 probably as well.
+1

Maybe this is an EasyHack?
Comment 5 sdc.blanco 2023-06-27 11:46:12 UTC
Updating summary per comment 3
Comment 6 Jerry Ege 2023-06-27 11:51:39 UTC Comment hidden (spam)
Comment 7 QA Administrators 2025-10-25 03:14:38 UTC
Dear sdc.blanco,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug