Bug 345724 - Contacts still shown as online after my account goes offline
Summary: Contacts still shown as online after my account goes offline
Status: RESOLVED UNMAINTAINED
Alias: None
Product: telepathy
Classification: Unmaintained
Component: common-internals (show other bugs)
Version: git-latest
Platform: Other Linux
: NOR normal
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-31 12:50 UTC by David Edmundson
Modified: 2024-09-18 18:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 11 Christoph Cullmann 2024-09-18 18:13:11 UTC
Dear user, unfortunately Telepathy is no longer maintained.

Please migrate to another solution, e.g. for Jabber a possibility is Kaidan, for Matrix a candidate is NeoChat.