Bug 345724

Summary: Contacts still shown as online after my account goes offline
Product: [Frameworks and Libraries] telepathy Reporter: David Edmundson <kde>
Component: common-internalsAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: REPORTED ---    
Severity: normal CC: aleixpol, mklapetek, simonandric5
Priority: NOR    
Version: git-latest   
Target Milestone: Future   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description David Edmundson 2015-03-31 12:50:06 UTC
Connect an account and open the contact list

disconnect your account using the combo box.
All contacts are still shown as online.

This is with the kpeople backend and the bug only exists after being ported to KF5.
Comment 1 Martin Klapetek 2015-03-31 14:08:45 UTC
Works fine here. Can you check with ktp-common-internals/tests/ktp_kpeople_list_model_view? Maybe it's just the contact list not updating pixmaps...
Comment 2 David Edmundson 2015-03-31 17:02:26 UTC
kpeople model is fine.

contact list is consistently not updating.
Comment 3 David Edmundson 2015-03-31 17:03:02 UTC
and it's not just the pixmaps, they should get hidden if offline
Comment 4 Martin Klapetek 2015-03-31 17:55:27 UTC
By "kpeople model is fine" I assume you mean the ktp_kpeople_list_model_view app works properly, right (not just the PersonsModel from kpeople)?

That would mean the bug somehow appeared in the grand filter proxy, but there were no commits to it since ever.

The only possibly related commit seems to be 836555ca47ad19ed33cf156506a8c0a1cdc1b12f in ktp-common-internals. Could you perhaps try to revert that and see if that works?
Comment 5 David Edmundson 2015-03-31 17:59:10 UTC
If I revert I get a crash.
Comment 6 Martin Klapetek 2015-04-01 19:51:01 UTC
Can you try going offline, removing $LOCAL_DIR/ktp/cache.db and see if you can still reproduce?
Comment 7 David Edmundson 2015-04-01 20:01:46 UTC
Oh. Now it works.
Thanks

Migration issue?
Comment 8 Martin Klapetek 2015-04-01 20:11:27 UTC
I'm not sure. It was actually just a shot in the dark. But good stuff \o/

I'll recheck the cache code, for good measure.
Comment 9 Martin Klapetek 2015-04-02 11:04:59 UTC
Did you by any chance actually kept the cache.db file?
Comment 10 Justin Zobel 2021-03-09 07:25:53 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.