mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #24149] issue: PDFViewer is rendering all PDF's as image - Search on PDF's gone #58876
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @athoik on GitHub (Apr 26, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/24149
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
0.9.2
Ollama Version (if applicable)
No response
Operating System
Debian 12
Browser (if applicable)
Firefox 150
Confirmation
README.md.Expected Behavior
When using
FileItemModalit was possible to Search within the PDF's (among other operations), since native browser PDF rendering was used.Actual Behavior
Since
8b2160f2f7theFileItemModalrenders PDF's usingPDFViewer.All pages are render as canvas/image and searching text within the PDF is not possible any more.
Steps to Reproduce
To reproduce we must open any PDF preview using
FileItemModal(eg use#on chat and select a PDF from existing Knowledge Base). Then using Find (Ctrl+F / Cmd+F), search is not possible.Logs & Screenshots
Preview using iframe and native browser search:
Preview using PDFViewer where search doesn't work any more:
Additional Information
A possible solution is to open the PDF natively in the browser, by clicking the PDF name/title in preview.
That isn't working as well and a PR was raised to fix it https://github.com/open-webui/open-webui/pull/24125