Issue 127460 - Alphabetical Index entry disables Find & Replace function
Summary: Alphabetical Index entry disables Find & Replace function
Status: UNCONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: 4.1.3
Hardware: All All
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-01 16:43 UTC by R Green
Modified: 2019-05-17 22:16 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Oo file demonstrating how an Index entry can interfere with the "Find & Replace" function (20.51 KB, application/vnd.oasis.opendocument.text)
2017-07-01 16:43 UTC, R Green
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description R Green 2017-07-01 16:43:50 UTC
Created attachment 86163 [details]
Oo file demonstrating how an Index entry can interfere with the "Find & Replace" function

If you add an Alphabetical Index entry, but modify the "Entry" field in the "Insert Index Entry" dialog so that it is different to the selected text,a thin grey rectangle is added to the beginning of the selection. However, this grey rectangle interferes with the "Find & Replace" function.

Open the attached file. Use the "Find and Replace" dialog to look for the phrase "William Petty" (in the first line of the text). It cannot be found. Now look for "William" or "Petty" as separate words. These CAN be found.

In other words, the program cannot recognise any phrase which includes a grey rectangle. This complicates indexing especially when there are many grey rectangles" in the text.
Comment 1 Petros 2017-10-06 14:32:40 UTC
System: Windows 10 (64-bit)

Version: Apache Open Office 4.1.3


Reproduction steps:

1. Open OpenOffice Writer

2. Open any text document

3. Select a word or a set of words

4. Go to menu option Insert->Indexes and Tables->Entry

5. Go to field entry and modify the phrase or word that is in there either by adding a word or some random letters.

5. You will see a small grey box (field shading) added at the beginning of the highlighted phrase. 

6. Press Ctrl+F to get the Find and Replace box. If you search for any phrase that includes the word with the grey box at the beginning you will not be able to find it. 

Expected result: A non-printing character should not be created when the user changes the phrase when creating an Alphabetic Index.
Actual result: A non printing character is created when the user modifies the phrase when creating an Alphabetic Index which affects find related functions and they are missing possible matches.
Comment 2 Steven Zhang 2019-05-11 05:48:07 UTC
I was able to reproduce this issue with configuration and steps as below.

Configuration:
PC OS: Windows 10 Home (64-bit)
PC Hardware: cpu - Intel I7-7700HQ, ram - 16GB
OpenOffice Writer Version: 4.5.0, build 9900, Rev. 1858512


Steps:
1. Open a text document in OpenOffice Writer.
2. Select a word and then to add an Alphabetical Index Entry(via menu Insert->Indexes and Tables->Entry)
3. In the entry field do some modification to the selected word.
4. A small grey rectangle is added at the beginning of the word.
5. If you want to find a set of words with that rectangle inside, the find will got failure because of the grey rectangle.

Comment:
This is a rainy case about adding an Alphabetical Index Entry. And a grey rectangle has been added from this rainy case. The rectangle causes the find function not to work if we want to find a phrase with that rectangle inside.
Comment 3 Steven Zhang 2019-05-17 22:16:33 UTC
Follow up with my previous comment, during a rainy case about adding an Alphabetical Index Entry, is it the correct behavior to add a grey rectangle? This grey rectangle cause some problem for the Find & Replace function.