[Bug]: Option-clicking external chat links opens a download dialog instead of the system browser on macOS
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/desktop (chat link handling in apps/web)
Steps to reproduce
- On macOS, use T3 Code Nightly with Finicky as the system URL handler. Configure Finicky to open ordinary clicks in Google Chrome and Option-modified opens in Brave Browser (you can test without this s/w also just click the URL while pressing option key).
- Open a chat containing an external HTTPS Markdown link, for example https://github.com/pingdotgg/t3code/discussions/13979 or a GitHub source-file link.
- Click the link normally: it opens in Chrome via Finicky.
- Hold Option and click the link.
Reproduced in both local-machine chats and chats associated with a different machine. Initially this appeared remote-only, but subsequent testing confirmed local chats are affected too.
Expected behavior
The external link is handed to the local system URL handler while Option is held, allowing Finicky to route it to Brave.
Actual behavior
A native download/save dialog appears instead of opening Brave. This looks like Chromium's Option-click-to-download behavior taking precedence over the external URL opener.
Option-based routing worked earlier the same day for a PR link. This is not yet proof of a version regression: the earlier successful link was a PR URL, whereas the failing examples include discussion and source-file URLs.
Impact
Minor bug or occasional failure: modifier-based external browser routing is broken for affected chat links.
Version or commit
Installed desktop version: 0.0.43-nightly.20260927.2344
Environment
macOS; T3 Code (Nightly), bundle ID com.t3tools.t3code; Finicky routing to Google Chrome or Brave Browser based on Option state.
Logs or stack traces
Relevant excerpts from Finicky (no matching URL-received event for the download-producing click is present in the supplied excerpt):
5:13:15 PM — earlier successful open
Setting opener
name: T3 Code (Nightly)
bundleId: com.t3tools.t3code
Modifier keys state
option: true
Final browser options
name: Brave Browser
Run command
command: open -a 'Brave Browser' https://github.com/pantharshit007/multy-r2/pull/11
11:35:43 PM — ordinary click
URL received
url: https://github.com/pingdotgg/t3code/discussions/13979
Setting opener
name: T3 Code (Nightly)
bundleId: com.t3tools.t3code
Modifier keys state
option: false
Final browser options
name: Google Chrome
Run command
command: open -a 'Google Chrome' https://github.com/pingdotgg/t3code/discussions/13979Investigation / suspected cause
Source inspection of main at de251fc2971a884cb5b1305ba4daf309dc8cccb0 (not a verified mapping to the installed build):
- ChatMarkdown.tsx leaves system-browser and modifier clicks to the native anchor behavior. The comment explicitly says modifier clicks are left to the shell.
- DesktopWindow.ts forwards window-open/navigation events to the external opener. An Option-click download may bypass those paths.
Potential fix: intercept Option-clicks on external chat links in the desktop runtime, prevent the default download action, and explicitly route them through the local system opener. Preserve intended browser behavior in the web runtime.
Workaround
Opening the copied URL directly in Brave works around the affected click path. Right-click → Open in system browser while holding Option also works.
Video Demo
https://github.com/user-attachments/assets/686865e0-9e50-45a5-9bbf-0315ec3edc4e
Source: pingdotgg/t3code