Skip to content

contacts-query-filter: Remove invalid optimization

Kai A. Hiller requested to merge V02460/gnome-contacts:query_filter_unsmart into main

Fixes erratic search behavior by removing an invalid optimization on search query updates in QueryFilter. It sometimes assumes a FilterChange of MORE_STRICT/LESS_STRICT when it is in fact DIFFERENT:

  • If the search string is extended, fewer contacts qualify for matching, but some might start to pass the threshold.
  • If the search string is shrunk, more contacts qualify for matching, but some might no longer pass the threshold.

Merge request reports