I can't begin to tell you what a nightmare it was reproducing it. Replicating bugs is an exercise in gaslighting... but I finally got it.
This is the order of operations:
- Open attached epub file (opens automatically to "01.xhtml")
- Open in another tab "02.xhtml"
- In "02.xhtml" type "hello" in Search field and Count All (i use the keyboard shortcut); you should get 12 matches
- In same tab type "bye" in Search field and Count all (again, using keyboard shortcut); you should get 8 matches
- Save (Ctrl+S)
- Switch tabs to the already open "01.xhtml" and close all other tabs (Ctrl+Alt+W)
- Now, find next instance of "bye" (Find Next keyboard shortcut or just click the Search Icon).
It will say "End of search" despite previously having counted 8 instances of "bye" and your never having actually cycled through them.
It seems that the "Save" step is what is stopping the search from jumping to results after that last opened file despite counting them... but I don't know.