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?
- Use the Codex desktop app.
- Get a response that includes clickable local file links with line references.
- Click one of the links in the conversation pane.
- 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.
5 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
PR can be created from here: https://github.com/openai/codex/compare/main...iamhectorlopez:codex/issue-17681-line-links?expand=1
In my case (VSCode extension on Windows) the produced links point to
/c:/Users/.... The extra:may fail the jumping.Any updates to this?
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.