Apache OpenOffice (AOO) Bugzilla – Issue 127460
Alphabetical Index entry disables Find & Replace function
Last modified: 2019-05-17 22:16:33 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.
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.
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.
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.