Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Two contacts with different nicknames, no first name, no surname, and the same company are shown as one contact

未关闭
#463 3 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
android, kotlin
领域
database, mobile

调研方向

Start by reproducing the two steps with local contacts that have only a nickname and a shared company, then check the contact list and the edit screen. The payload doesn't name the file where contacts are grouped, so search the Kotlin code for where contacts are merged or displayed by name and company. Done means two contacts with different nicknames stay separate in the list, search and edit screens, with the existing tests passing.

由索引模型根据 Issue 内容生成。

描述

bug
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.5.0

Affected Android/Custom ROM version

Android 15

Affected device model

Motorola Edge 50 Neo

How did you install the app?

GitHub releases

Steps to reproduce the bug
  1. Create a local contact with Nickname: TestA, Company: TestCompany, Number (of any type): 123.
  2. Create a local contact with Nickname: TestB, Company: TestCompany, Number (of any type): 456.
Expected behavior

Two different contacts are shown in the contact list, search results, etc.

Actual behavior

There is one contact shown as "Test", with two phone numbers — 123 and 456. If I start editing it, I get "Select account" with two "Phone storage" options. Only after selecting one of those two optiojs, I see the respective contact with its nickname and phone number.

Screenshots/Screen recordings

No response

Additional information

The stock Contacts app, as well as DW Contacts and, interestingly enough, Right Contacts all immediately show two different contacts: TestA, its number being 123, and TestB, its number being 456.

主要语言
Kotlin
星标
917
派生
73
平均合并
2 天 2 小时
30 天内合并 PR
9

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

FossifyOrg/Contacts 的其他 Issue

查看 FossifyOrg/Contacts 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。