duckduckgo / duckduckgo/Android
[Bug] "Find in page" incorrectly starts from '5/16' instead of '1/16' when the page is at the top
Open
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
The search results display '5/16
https://github.com/user-attachments/assets/8f9a284e-167c-4117-8ad3-bf66ab89cda1
' as the initial match.
How to Reproduce
- Open the page you want to search, e.g., www.wikipedia.org.
- Tap the 'three-dot' menu button.
- Tap 'Find in page' button.
- Enter your search term or phrase in the search bar, e.g., 'h'.
Expected behavior
The search results should display '1/16' as the initial match, especially since the page is at the top without any scrolling.
Environment
- DDG App Version: 5.225.0 (52250000)
- Device: Galaxy S21 5G
- OS:Android 12
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the Find in page flow described on the DuckDuckGo Android app using the listed app version, Galaxy S21 5G, and Android 12, then inspect the search navigation behavior when the page is at the top. Done means the first search result displays as 1/16 rather than 5/16 for the reported example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100