duckduckgo / duckduckgo/Android

[Bug] Searching bookmarks after deleting a folder returns no results

Open
#6,062 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs triage
Dominant language
Kotlin
Stars
4.8k
Forks
1.4k
Avg merge
2d 17h
Merged PRs (30d)
170

Description

Describe the bug

By investigating issue #5671 , I found that the crash was fixed, but there is a new issue.

How to Reproduce
  1. Go to 'Bookmarks'
  2. Add folder 'A'
  3. Go to folder 'A'
  4. Add folder 'B'
  5. Delete folder 'B'
  6. Search Bookmarks
  7. No results at all

https://github.com/user-attachments/assets/a19763fa-8c6a-44ad-86ad-97659bf2f60c

Expected behavior

Should see bookmarks and folder 'A'

Environment
- DDG App Version: 5.231.1
- Device: NIO Phone - N2301
- OS: Android

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the sequence in the issue on Android, then review the changes related to issue #5671 and trace bookmark search after deleting nested folder B. Confirm the fix by verifying that searching Bookmarks still shows existing bookmarks and folder A after B is deleted.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile-dev, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.