Skip to content

Deleting filtered contacts also deletes them from all other accounts #575

Description

@Rudxain

Checklist

  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected app version

1.6.0

Affected Android/Custom ROM version

Android 14

Affected device model

TCL 505

How did you install the app?

Google Play Store

Steps to reproduce the bug

  1. Go to settings
  2. Export vcf using "whatsapp" as source (I've configured WA to only use local contacts, ("Sync to phone" cannot be disabled in this mode))
  3. Switch to "Contacts" tab
  4. Filter by "WhatsApp"
  5. Select all
  6. Delete

Expected behavior

It should only delete the contacts from the filtered account, or show a warning if a contact belongs to multiple accounts

Actual behavior

If any of the selected contacts is in any account other than the filtered one, it will also be deleted there.

I assume this happens because of the "Merge duplicate contacts" setting

Screenshots/Screen recordings

No response

Additional information

I've tried importing the aforementioned vcf file, only to find it only has the data that was stored in the "whatsapp" account, which is technically correct, but that doesn't fix the fact that I've lost data.

Related: #544

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not workingneeds triageIssue is not yet ready for PR authors to take up

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions