code icon indicating copy to clipboard operation
code copied to clipboard

Search occurrence label does not update after global search

Open jeremypw opened this issue 3 years ago • 0 comments

What Happened?

After performing a search on the current document, the search occurrence label shows the number of matches and the current match. However after performing a global search this label is not updated and can show incorrect information.

Steps to Reproduce

  • Perform a local search for a certain string (with matches)
  • Perform a global search for a different string (with matches)
  • The search occurrence label still shows the information form the first search.
  • Switch to another document with global matches
  • The search occurrence label shows "No results" even though matches are highlighted.

Expected Behavior

The search occurrence label always shows accurate information regarding the the number of matches highlighted in the current document.

OS Version

6.x (Odin)

Software Version

Compiled from git

Log Output

No response

Hardware Info

No response

jeremypw avatar Feb 23 '22 19:02 jeremypw