Bug 508127 - KDE Connect does not remove old (no longer paired) kpeoplevcards cache, polluting contact-lookup/metadata for SMS
Summary: KDE Connect does not remove old (no longer paired) kpeoplevcards cache, pollu...
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (other bugs)
Version First Reported In: 25.04.3
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-11 19:16 UTC by Odin Vex
Modified: 2025-08-11 19:17 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Odin Vex 2025-08-11 19:16:43 UTC
SUMMARY
I've unpaired old devices that I no longer use and noticed KDE Connect hasn't been clearing old device contact synchronizations from `~/.local/share/kpeoplevcard/kdeconnect-*`. Stale records no longer applicable (some contacts change numbers, etc) will show up because of it.

STEPS TO REPRODUCE
1. Have an old device with synchronized contacts.
2. Pair a new device and synchronize contacts.
2. Remove/unpair old device.
3. KDE Connect SMS will still show unpaired old device contacts (in addition to new device's contacts that may or may not have adjusted names or new numbers, etc).

OBSERVED RESULT
Stale old devices in `~/.local/share/kpeoplevcard/kdeconnect-*`, a lot of old, stale records polluting contact-lookup and metadata for KDE Connect SMS.

EXPECTED RESULT
Remove old kpeoplevcard caches.

SOFTWARE/OS VERSIONS
Windows: Untested
macOS: Untested
Linux/KDE Plasma: 6.3.6
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION
Removing old directories relevant to old (unpaired) devices resolves the issue.