Describe the Bug
Where does the bug appear (feature/product)?
Cursor IDE — Agents Window (Glass)
Describe the Bug
In the Agents Window, opening a .pdf file does not show a usable PDF preview. The file either fails to render, shows as a non-preview / binary-style view, or otherwise cannot be visually previewed inside Agents Window.
In contrast, PDF viewing/preview behavior outside Agents Window (classic Editor / system PDF viewer) works as expected for the same files.
This breaks the Agents Window workflow when agents generate or edit PDFs (reports, exports, LaTeX builds, etc.): I have to leave Agents Window and open the file elsewhere just to review the result.
Related context (not the same bug, but adjacent):
- Formatted document preview gaps in Agents Window: Viewing formatted documents (md, adoc, ...) in agents window
- Built-in browser PDF caching issues (different surface): PDFs are stale in the Cursor browser
Steps to Reproduce
- Open Cursor on Windows with Agents Window as the primary surface (Glass layout).
- Open (or create) a workspace that contains a valid .pdf file.
- From Agents Window, open the PDF via file search (Ctrl+P) or by clicking the file path from an agent response / file tree.
- Observe that the PDF does not preview correctly inside Agents Window.
- Open the same PDF outside Agents Window (classic Editor, or OS default PDF viewer) and confirm the file itself is valid and viewable.
Expected Behavior
Agents Window should preview PDF files inline (readable pages), with parity to how PDFs can be viewed elsewhere in Cursor / on the OS — so agent-produced PDFs can be reviewed without leaving Agents Window.
Actual Behavior
PDF preview does not work in Agents Window (no usable rendered preview when opening .pdf files from that surface).
Operating System
Windows 11 (25H2), build 10.0.26200
Steps to Reproduce
None
Operating System
Windows 10/11
Version Information
Cursor IDE: 3.12.17 (stable)
Does this stop you from using Cursor
No - Cursor works, but with this issue