Desktop app code hyperlinks open the file but do not navigate to the referenced line

Resolved 💬 5 comments Opened Apr 13, 2026 by iamhectorlopez Closed May 2, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

Codex desktop app on Windows, reproduced on April 13, 2026. I do not have the exact build number in this report.

What subscription do you have?

Pro

Which model were you using?

gpt-5.4

What platform is your computer?

Windows

What issue are you seeing?

When the assistant returns clickable local file hyperlinks with line references, clicking the link opens the View Code panel for the correct file, but it does not navigate to the referenced line.

For example, links rendered like:

  • privacyassistant.py (line 868)
  • privacyassistant.py (line 1099)

open privacyassistant.py in View Code, but the editor lands at the file itself rather than the referenced line.

What steps can reproduce the bug?

  1. Use the Codex desktop app.
  2. Get a response that includes clickable local file links with line references.
  3. Click one of the links in the conversation pane.
  4. Observe that View Code opens the correct file, but not the referenced line.

What is the expected behavior?

Clicking a file hyperlink with a line reference should:

  • open the correct file in View Code, and
  • navigate directly to the referenced line, ideally with focus or highlight on that line.

Additional information

  • The file resolution itself works correctly; only the line navigation appears to be missing.
  • I reproduced this with multiple line-specific links in the same response.
  • I have screenshots showing the conversation link and the resulting View Code panel state, if needed.

View original on GitHub ↗

5 Comments

github-actions[bot] contributor · 4 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #17526
  • #17565

Powered by Codex Action

ziyuang · 4 months ago

In my case (VSCode extension on Windows) the produced links point to /c:/Users/.... The extra : may fail the jumping.

nooblyf · 4 months ago

Any updates to this?

ziyuang · 4 months ago

It now creates links like https://file+.vscode-resource.vscode-cdn.net/c%3A/Users/<my-name>/.vscode/extensions/openai.chatgpt-26.415.20818-win32-x64/webview/, but can be corrected to jumpable links if I ask the agent to correct. A bit inconvenient and a waste of tokens.