> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:wengophone- > [EMAIL PROTECTED] On Behalf Of Aurélien Gâteau > Hello, > > The attached patch improves the update of the contact list by repainting > the list instead of rebuilding the content every time the presence is > changed. > > What it does is when a contact is changed it checks if the contact must > be added, removed or updated. > If it needs to be added or removed, it behaves like it used to (for now). > If it needs to be updated, it will ask the view to repaint itself, which > is still a bit too much, but is definitely better than deleting all > items and recreating them. > > The other benefit of this patch is that you no longer loose your > selection when a contact is updated. > > The only drawback is that it does not reorder items: the unpatched > behavior is to sort contact by presence, therefore when the presence of > a contact changes, the contact will get moved with other contacts of the > same presence. With the patch, the contact stays where it was. > I personally think grouping by presence is not a good idea. What do you > think about this? > > Aurélien
Sorting by alphabetical order is definitely preferable, and since there is an ability to hide contacts who are not online, I think it would be fine. I havent reviewed the patch code itself however. _______________________________________________ Wengophone-devel mailing list [email protected] http://dev.openwengo.com/mailman/listinfo/wengophone-devel
