I implemented filtering on a QAbstractTableModel using an out-of-the-box QSortFilterProxyModel and the method QSortFilterProxyModel::setFilterFixedString(). Based on what was in the source table model and my filter string, I kept getting too many results.

Finally resorting to qDebug(), I discovered to my surprise that the filtering was selecting every index that contained the filter string, not those that were an exact match. I would have expected that for searching a fixed filter string, exact matching should be the behavior.

Has this been the behavior all along, or has something been broken? Using Qt 5.9.

I finally resorted to using a QRegExp filter with a reg exp that forced exact matching to my string.