Open Bug 1604559 Opened 5 years ago Updated 3 years ago

Find does not find all instances when instances overlap

Categories

(Toolkit :: Find Toolbar, defect)

defect

Tracking

()

People

(Reporter: dheiberg, Unassigned)

Details

When searching for a string on a page, it sometimes does not find all the instances. I have tested this on 71 and 73.0a1 (2019-12-17) (64-bit) on MacOSX, also tried with new profiles.

Steps to Reproduce:
1 - Open https://pastebin.com/raw/ady20uBn
2 - Open find with cmd+f or OS equivalent
3 - Enter ,438, into the search field.
4 - Select next till you get to the 4th match
5 - The next item reloops back to the 1st match, despite there being a 5th match.

The issue seems to be with the fact that ,438, is repeated right after itself, and the second match would be part of the original match, like so: ,438,438,. I think this theory is reinforced by the fact that if you were to iterate over the results the other way round (ie "Find the previous occurence") then the second half of the string matches and not the first.

The priority flag is not set for this bug.
:mikedeboer, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(mdeboer)
Severity: normal → S3

Clear a needinfo that is pending on an inactive user.

Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.

For more information, please visit auto_nag documentation.

Flags: needinfo?(mdeboer)
You need to log in before you can comment on or make changes to this bug.