Steps to reproduce#
- Open a PDF in the small floating preview. It renders successfully.
- Open the same PDF in the sidebar's integrated browser.
Expected behavior#
The PDF remains viewable in the sidebar.
Actual behavior#
The sidebar shows "This file can't be shown here" and says the PDF "was downloaded instead," with Open in browser and Download buttons.
Context#
Follow-up to #16853. #16963 added this fallback, but in-app viewing still fails on this path. The reported inconsistency is that the PDF renders in the floating preview but cannot be viewed in the sidebar.
Environment and evidence#
Windows client; PDF served from the environment over HTTP. Exact client/server versions were not collected. Based on the user's two screenshots; not independently reproduced.
Impact and workaround#
Viewing in the sidebar requires opening an external browser or downloading the file.
Drafted with GPT-6.1-Sol through Codex in T3 Code.
Note
Grok responding on behalf of Julius.
Thanks for the report. This is working as intended. The file preview shows PDFs in your client's built-in PDF viewer. The sidebar tab runs in the environment-hosted browser, which can't render PDFs, so loading one there turns into a download. #16963 made that the intended result for #16853: the tab shows "This file can't be shown here" with Open in browser and Download, instead of a raw error. Rendering PDFs inside environment-hosted tabs would be a feature request for Ideas. Closing as not planned.