duckduckgo / duckduckgo/Android

[Bug] The app opens another tab of same page

Open
#4,937 7 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

Whenever I go back from the browser and reopen it, if it has a page already opened, it'll re-open the same page on another tab while keeping the previous tab also open. Another issue is that, whenever I press the fire button, the app becomes unresponsive for sometime and doesn't open any new tabs. You can see both the issues in the attached video file (I forgot to show the previously opened tab, but trust me that's also there).

How to Reproduce

https://github.com/user-attachments/assets/4361a429-ec3a-4cf6-a66c-de0a6e72b338

Expected behavior

The tab I already have opened should remain opened without even refreshing until prompted so.

Environment
- DDG App Version:5.211.0
- Device: motorola 
- OS: Android 14

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 duplicate-tab and delayed Fire-button behavior in DDG App 5.211.0 on Android 14, following the attached video and the stated browser-back steps. Trace the tab-reopen and Fire-button flows, then verify that an existing tab is preserved without an unwanted refresh and that Fire opens tabs responsively.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.