Skip to content

[Bug]: desktop thread file links do nothing instead of opening the file panel #6360

Description

@3mdistal

Before submitting

  • I searched existing issues and did not find an exact duplicate.
  • I reproduced the problem with a file that exists at its canonical path.
  • I included enough detail to investigate the problem.

Summary

On macOS, clicking a valid local-file link rendered in a thread silently does nothing. T3 Code recognizes the link as an internal t3code://app/... URL, but it does not open the file side panel or report an error. This reproduces with a confirmed existing file and with both mouse and keyboard activation.

Area

apps/desktop

Steps to reproduce

  1. Open a thread in the macOS desktop app.

  2. Have the agent include a Markdown link to an existing local file, for example:

    [Example note.md](</path/to/vault/Example note.md>)
  3. Confirm that the rendered link resolves to an internal URL resembling:

    t3code://app/path/to/vault/Example%20note.md
    
  4. Click the link.

The problem can also be reproduced by focusing the link and pressing Return.

Expected behavior

T3 Code opens the referenced file in the file side panel, or displays an actionable error if the file cannot be opened.

Actual behavior

The link receives focus, but nothing else happens:

  • The file side panel remains closed.
  • The current thread does not change.
  • No error or feedback is shown.
  • Pressing Return on the focused link also does nothing.
  • The desktop logs contain no corresponding file-opening failure.

Reproduction notes

I reproduced this using Computer Use against a canonical file that currently exists on disk. The accessibility tree recognized the rendered element as a real link with a valid t3code://app/... value, so this does not appear to be a coordinate-click or missing-file problem.

The incident that prompted the investigation initially involved an agent linking to an ephemeral transaction-worktree path. That particular path later became stale, which explained some confusion in the thread. However, replacing it with the valid canonical path produced the same silent failure.

Impact

Users cannot reliably open files referenced by agents from the conversation. Because failure is silent, it is difficult to distinguish among:

  • a missing or stale file;
  • an incorrectly generated link;
  • a valid link that the desktop app failed to handle.

This can also cause agents and users to become confused about whether an artifact was actually created or synced.

Version

T3 Code Nightly 0.0.34-nightly.20260812.1072
macOS

Logs or stack traces

No relevant error was emitted when the valid file link was clicked or activated with Return.

The absence of an error appears to be part of the defect.

Related issue

Potentially related to #5839, which reports that thread Markdown links discard openURL failures on mobile.

This report covers a different surface and link type:

  • macOS desktop rather than mobile
  • internal t3code://app/... file links rather than unsupported external URLs

The two issues may share a missing error-handling path.

Activity

  1. teloverge commented on Aug 13, 2026

    @teloverge

    I can reproduce a closely related failure on Windows, including with paths that currently exist #6418

  2. ansh commented on Aug 13, 2026

    @ansh

    Additional user-reported scope: this also affects a desktop client on machine A connected to a T3 environment on machine B.

    When an agent hyperlinks an existing file that lives on machine B, activating the link from the desktop app on machine A does not open the file in T3's file panel, so the remote file cannot be viewed.

    Expected behavior: file-link resolution must remain scoped to the thread's owning environment, and the file should be read through machine B's T3 server. The remote path should not be resolved against machine A's filesystem. If an external-editor fallback is unsupported for remote files, T3 should hide that action or show a clear error instead of failing silently.

    No exact app version was provided for this additional report.

  3. t3dotgg commented on Aug 27, 2026

    @t3dotgg
    Member

    Thanks for the detailed report. We believe this is fixed by PR #6439 and PR #8081.

    PR #6439 fixes the report's exact angle-bracket destination with spaces. The pre-scan now accepts it, and the anchor renderer resolves the parsed percent-encoded href if the map misses. Plain Markdown file clicks use the existing file panel with the owning threadRef, including its remote environment. PR #8081 covers the Windows drive-path condition added in the comments. No later comment contradicts these fixes.

    I'm closing this as fixed as part of an automated pass on all open issues. If this still happens in a current build that includes PR #6439 and PR #8081, please reply with the T3 Code version and fresh logs or reproduction details, and we can reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions