Bug 199850

Summary: Contact order not saved correctly
Product: [Unmaintained] kopete Reporter: Christian Hartmann <chris-hartmann>
Component: Contact listAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of wrong order at startup
Screenshot with correct order

Description Christian Hartmann 2009-07-12 12:03:40 UTC
Version:            (using KDE 4.2.96)
OS:                Linux
Installed from:    SuSE RPMs

In the settings i choose to sort my contacts by status, but after the next start of kopete (0.70.90) the contacts get sorted by name. To make it sort them in the wished way, i have to change the settings to sort the metacontacts by groups and uncheck this again.

Here my wished settings:
group sorting - name
contact sorting - status
use photos - yes
  borders - no
  rounded corners - no
sort metacontacts by groups - no
tree - no
  indend - no
deactivate vertical scrollbar - no
show identities - yes
Comment 1 Christian Hartmann 2009-11-19 18:41:52 UTC
It's still there in Kopete 0.80.2 on KDE 4.3.3
Comment 2 Roman Jarosz 2010-01-04 22:04:41 UTC
I cannot reproduce this with Kopete from KDE 4.3.4, it also could have been bug in Qt (I'm using Qt 4.6.0)
Comment 3 Christian Hartmann 2010-01-04 22:58:05 UTC
I'll wait for KDE SC 4.4 to see if it will be gone then. Now it's still annoying me ;)
Comment 4 Christian Hartmann 2010-01-18 22:25:59 UTC
The bug is still there in KDE SC 4.4 RC1 and Kopete 0.99.90. Also on other computers.

I always have to go through the settings to see my contacts in the right order.
Comment 5 Roman Jarosz 2010-01-18 22:52:40 UTC
Could you show me screenshot?
Comment 6 Christian Hartmann 2010-01-19 18:06:10 UTC
Created attachment 40040 [details]
Screenshot of wrong order at startup

This is a screenshot with the wrong order at the startup of kopete
Comment 7 Christian Hartmann 2010-01-19 18:07:58 UTC
Created attachment 40041 [details]
Screenshot with correct order

This is a screenshot of the order how I want it to be
Comment 8 Roman Jarosz 2010-01-19 18:39:26 UTC
Christian could you send to kedgedev (at) gmail.com the .kde/share/config/kopeterc (if you have passwords in this file you may delete them), .kde/share/apps/kopete/contactlistmodel.xml and .kde/share/apps/kopete/contactlist.xml

Thanks
Comment 9 Christian Hartmann 2010-01-20 08:07:00 UTC
I could send them to you in the afternoon. But I don't think that it has to do with the config files as this problem occurs on all my pcs, even at the first launch of kopete or after I have deleted the config files.
Comment 10 Roman Jarosz 2010-01-21 19:09:55 UTC
SVN commit 1078182 by rjarosz:

Workaround Qt sorting bug, the sort will not work if all items in QSortFilterProxyModel are hidden on "startup".
BUG: 199850



 M  +57 -1     contactlistproxymodel.cpp  
 M  +8 -0      contactlistproxymodel.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1078182
Comment 11 Roman Jarosz 2010-01-21 20:32:53 UTC
SVN commit 1078213 by rjarosz:

Backport commit 1078182

Workaround Qt sorting bug, the sort will not work if all items in QSortFilterProxyModel are hidden on "startup".
QTBUG-7537
CCBUG: 199850



 M  +57 -1     contactlistproxymodel.cpp  
 M  +8 -0      contactlistproxymodel.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1078213