I think this is a duplicate of https://orionfeedback.org/d/5156-pdf-viewer-not-working-unless-refreshed . I can reproduce it by clicking the provided sample PDF, and refreshing causes the PDF to display correctly.
PDF Viewer not working unless refreshed
adamaveray
Yes indeed! It seems to be the same issue as I am able to see the PDF after refreshing. Thank you for sharing this temporary solution!
Just jumping in to say I'm having the exact same issue as others described here. Otherwise enjoying using Orion but this is frustrating. Particularly, as other commenters note, when downloading large PDFs, or from a slow server, or via a series of redirects. I've also noticed this issue when PDFs have been previously loaded on an inactive tab, and when I switch back to it, the page is blank. This is especially frustrating if you are, like I am right now, in and out of internet access.
I'm used to downloading PDFs and not viewing them in browser. If this is not yet resolved I would appreciate the option to treat PDF links as a download and not default to opening them in browser. (though I suppose I can just revert to 'download as' pdf links, but that isn't possible with indirect links)
leonrw You can enable WebKit's PDF viewer until we fix this. There is an option in Develop -> Experimental features for this https://help.kagi.com/orion/misc/technical.html#i-prefer-the-original-webkit-pdf-viewer
still this issue persists,
i have "Enable PDF.js viewer" enabled by default. i tried disabling that and opening the pdf webpages then the browser completely frozen and crashed.
I then enabled the "Enable PDF.js viewer", but the same issue like empty blank screen when opening a pdf webpage, page is opening only after refreshing it.
orion version: Version 0.99.128.2.1-beta (WebKit 619.1.11.111.2)
machine: Macboook Pro M3 Pro, 18GB RAM.
BhargavKadupukutla
I am unable to reproduce this using the link in your video:
https://www.usenix.org/system/files/conference/atc13/atc13-bronson.pdf
Does this happen on a fresh Orion profile as well? File
-> Profiles
-> New Profile
Wasn't there a similar issue on which I had commented with the same problem? maybe a merge is in order.
Reposting my findings here:
if you open the console after opening the link (when its still blank) the console shows errors
after the reload, these errors remain:
Comparing with the errors for people who didn't need to reload the viewer, after the reloads the errors match up, but before the reload there are those unhandled promise rejections which aren't experienced by people who don't have this bug.
still fails to load PDF with latest Orion RC
This is an issue that's been present in Orion for quite a long time:
When loading any PDF from a link, Orion fails to load the PDF and just shows a blank viewport until the page is reloaded where it then displays the PDF.
Expected functionality: the PDF shows first try and doesn't show a blank viewport or require a reload to work.
Version 0.99.131-beta (WebKit 621.1.2.111.4)
Sequoia (15)
- Edited
esiayo Hey! There have been some reports about this, but we still have no consistent ways of reproducing the issue. To verify, could you confirm whether the following steps result in the same issue on your device:
- Create a new Orion profile via File -> Profiles -> New Profile
- Go to https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf
Tried everything I could, Remove all Extensions/New Profile/Delete ~/Library/Application Support/Orion/Defaults/Reinstall Orion, none of them works.