contact list filter not working if roster exceeds 1000 contacts
Please first check if another issue has been opened for your problem
Versions
- OS: Windows 10
- Gajim version: 1.5.4 portable 64bit
- GTK version: bundled (3.10?)
- Python-nbxmpp version: bundled (3.2.5?)
Steps to reproduce the problem
- Have a roster with more than 999 contacts
- Switch to your contact list and toggle "sort by status" or "show offline contacts"
Expected behavior
The filters should work identical to the filters less or equal 1000 contacts
There might be a issue with the model-filter in high_performance mode in roster.py
self._high_performance = roster_size > 1000
self._modelfilter = self._store.filter_new()
if self._high_performance:
self._modelfilter.set_visible_func(self._visible_func)
else:
self._modelfilter.set_visible_column(Column.VISIBLE)
Actual behavior
The filter options do nothing if roster has more than 1000 contacts.