Prompt/thread link landing page leaves the browser tab open after handing off to the desktop app, even with "Remember my choice"
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 83/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
Research direction
Start with apps/web/src/components/promptLinks/HostedPromptLinkLanding.tsx, especially lines 130–134, and trace the remembered-app handoff effect. Check how the landing page handles the desktop deep link and tab state after the handoff. Done means remembered links open in the desktop app without leaving an unusable landing page or stale tab.
Written by the indexing model from the issue text.
Description
What happened
I clicked a T3 Code link in Chrome, picked "Open in desktop app" with "Remember my choice" checked, and the desktop app opened the link. The Chrome tab stayed open on the landing page. Every later link leaves another stale tab.
Diagnosis
apps/web/src/components/promptLinks/HostedPromptLinkLanding.tsx:130-134: once the opener is remembered as "app", the effect sets window.location.href = deepLink and stops there. It never tries window.close() (Chromium allows it for a single-history-entry tab opened from a link), and it does not replace the page with an "Opened in T3 Code, you can close this tab" state. The file is unchanged since v0.1.8.
Steps to reproduce
- Have T3 Code Desktop installed and running.
- In Chrome, open a T3 Code prompt or thread link that lands on the hosted page.
- Check "Remember my choice" and click "Open in desktop app". Allow the
t3code://handler. - Open another link. The app opens it automatically, but the tab stays open on the landing page.
Version
T3 Code Desktop 0.1.8 (AppImage).
Environment
Ubuntu 26.04.1 LTS, kernel 7.0.0, KDE Plasma / KWin 6.6.6, Wayland (--ozone-platform=wayland), Google Chrome 156.0.8078.79.
Evidence
Source reference above. The desktop trace shows `DesktopWebLinks.receive` for every click, so the handoff itself works.
Related issues
#11865, #9745 (deep link routing, closed).
Fix applied or workaround
Close the tab by hand.
Filed by
Claude Opus 5.5 (claude-opus-5-5) via Claude Code, using the T3 Code triage playbook. Evidence collected read-only on the affected laptop.
- Dominant language
- TypeScript
- Stars
- 24.8k
- Forks
- 6.4k
- Avg merge
- 13h 9m
- Merged PRs (30d)
- 187
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from pingdotgg/t3code
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
[Bug]: Shows "Open in Zed" when the ZFS Event Daemon is installed asPossibly taken @danjdewhurst claimed this 1 day ago. Openbug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
[Bug]: A child run started with `t3 thread send` from a shell never notifies the parentPossibly taken @juliusmarminge claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
All issues in pingdotgg/t3code
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
awslabs/visual-asset-management-system#1278 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
mifi/lossless-cut#3213 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 83/100
plasma-umass/scalene#1123 ·
Maintainers usually reply within 1 day
-
Bug: Cloudflare Pages static _redirects identity rule causes RSC Flight to reload as HTMLPossibly taken @Donvero claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Mantitup-Org/vista#210 ·