When poppler_page_find_text(page, text) is called on a page to get the list of matches for the specified text, first a list of matches is returned, but the same call returns NULL (empty list) for the second and any subsequent call. This was not the case with version 0.8.7, it is a regression found on 0.12.*. Interestingly, it seems that neither the poppler_page_find_text() nor the TextPage::findText() function was changed between the two releases. Nevertheless, this bug has also been mentioned in the last comment of #2951.
Does it still happen for you with poppler 0.14?
Yes, it does. I did not check the poppler source code to see what has been modified since 0.12, but from usability point of view there is no change.
Fixed in git master and poppler-0.14 branch. Thanks for reporting.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.