-
Notifications
You must be signed in to change notification settings - Fork 476
Erratic results of find in page #4704
Comments
Tested this with latest R-B and Fenix release builds. |
UPDATE: One theory: |
Yeah, that makes totally sense. If we'd already use the Store from the engine I'd say we could store the search string in the state and then in the reducer only update when the result is for the same search string. Maybe we could emulate this? We already pass the text to |
@pocmo after some more testing, I think this is (also) a GV bug. The So, I've verified that even when things happen in the right order the results we get back can be incorrect. I'll file an issue. |
Closing in favour of https://bugzilla.mozilla.org/show_bug.cgi?id=1587856. |
STR:
Expected after Step 1:
We'd expect the result counts of 'a' then the result counts of 'n'.
Actual after Step 1:
Sometimes after typing 'n' we still show the result counts of 'a'.
Expected after Step 2:
Iterating through the results causes the counter to increment/decrement and the total results to stay stable.
Actual after Step 2:
Sometimes we display 0/0, sometimes the total results change.
The problem of the incorrect result count in step 2, I can also reproduce in Fennec, but it definitely works much better there.
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: