<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [PATCH] Allow poppler_page_find_text to be rerun on same page"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59972">59972</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[PATCH] Allow poppler_page_find_text to be rerun on same page
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jrmcornish@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>glib frontend
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=73775" name="attach_73775" title="[PATCH] Allow poppler_page_find_text to be rerun on same page">attachment 73775</a> <a href="attachment.cgi?id=73775&action=edit" title="[PATCH] Allow poppler_page_find_text to be rerun on same page">[details]</a></span>
[PATCH] Allow poppler_page_find_text to be rerun on same page

Seems this problem has existed before (i.e. here:
<a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - poppler_page_find_text() does works only once on the same page for the same text"
   href="show_bug.cgi?id=27927">https://bugs.freedesktop.org/show_bug.cgi?id=27927</a>), but it's back again:
poppler_page_find_text returns NULL when run more than once on a single page.

I've attached a patch which fixes the issue for me.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>