[Bug 273725] New: Ugly hack in AccountFilterModel

David Edmundson kde at davidedmundson.co.uk
Fri May 20 14:20:44 CEST 2011


https://bugs.kde.org/show_bug.cgi?id=273725

           Summary: Ugly hack in AccountFilterModel
           Product: telepathy
           Version: git-latest
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: contactlist
        AssignedTo: kde-telepathy at kde.org
        ReportedBy: kde at davidedmundson.co.uk


Version:           git-latest (using KDE 4.6.3) 
OS:                Linux

The accountFilterModel contains a really ugly hack that invalidates the filter
each time any row changes. This is not only slow, but a sign of something else
being fundamentally broken.

This is needed as otherwise the filter doesn't seem to apply presence filtering
when using the group model (or flat-proxy-model).

When using a groups model, the dataChanged() signal appears to emit the wrong
indexes (?). When asking for presences it's returning invalided QVariants.

Reproducible: Didn't try

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KDE-Telepathy mailing list