Bug 137179 - FIND cannot locate phrases containing an INDEX MARK
Summary: FIND cannot locate phrases containing an INDEX MARK
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Find-Search
  Show dependency treegraph
 
Reported: 2020-10-01 10:44 UTC by R. Green
Modified: 2023-08-14 11:13 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Writer file illustrating a problem with FIND and index marks (120.73 KB, application/vnd.oasis.opendocument.text)
2020-10-01 10:44 UTC, R. Green
Details

Note You need to log in before you can comment on or make changes to this bug.
Description R. Green 2020-10-01 10:44:12 UTC
Created attachment 166000 [details]
Writer file illustrating a problem with FIND and index marks

Version: 7.0.0.3 (x64)
Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded

Open the attached Writer file. It contains a short (demonstration) Alphabeticsl Index at the back.

Notice the two types of index marks in the text: (1) LARGE INDEX MARK, spanning one or more words, indicating that the text in the shaded area is to be found in the index, VERBATIM. (2) SMALL INDEX MARK, at the beginning of words, indicating that the initially-highlighted "Entry" has been altered (in "Insert Index Entry) and can be found under a different word in the Index.

1. Place the cursor at the beginning of the document.
2. Open the Find toolbar. Enter "didn't bode" (this phrase occurs several times in the text). Press the "Find Next" arrow.

EXPECTED RESULT: The first occurence of "didn't bode" near the top of page 1 is highlighted.

ACTUAL RESULT: The first occurence of the phrase is missed – because it contains a SMALL index mark. This problem occurs for any search where the phrase contains a small index mark. NOTE: Text within LARGE index marks is not affected by the bug.
Comment 1 sivisolucangubresi 2020-10-28 21:04:52 UTC Comment hidden (spam)
Comment 2 Buovjaga 2021-07-27 11:48:12 UTC
Repro

NixOS
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 67e47070a7580a17804adce812cc2f98bfe7b51f
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: x11
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 3 Buovjaga 2021-08-14 17:34:45 UTC
Seen in 6.3, 5.0 bibisect repos and oldest of 43all repo. Assuming inherited.
Comment 4 Sophie Sipasseuth 2023-08-14 11:13:57 UTC
Repro with:

Version: 7.1.0.0.alpha1+ (x64)
Build ID: 738bcf5e9a8c443d60c29c3a8068e8c16c72638a
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: en-US
Calc: CL

Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: ff2ba77f22b2e96f96f5537aec1705956b47583d
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: en-US
Calc: CL

Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 229123ccc6f90ebf66b3e659bebbd53f8a9bdd3a
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: en-US
Calc: CL

Version: 7.4.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: c94961c6869c34b3874d21cfaa5ec1488609acfe
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: en-US
Calc: CL

Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 1c629ca0048670db4bed5e7d8d76bcf8e81f2158
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: en-US
Calc: CL threaded

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2b0b4ddc8bd8fdd4cd689300620fe4621d7533b7
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL threaded