I am not a technical guy to be able to explain the steps to reproduce the issue but let me show the video as proof of what I mean. Kindly fix this bug, otherwise Orion is an amazing browser to use and I am having fun with it.
Let me explain what is going on, so when I am opening any pdf on the browser then it shows a black screen. Then I have to refresh for the content to appear. It is happening consistently for any pdf file. If this is not a bug and happening with me then please provide solution, i can't seem to find it on google.
PDF Viewer not working unless refreshed
SkullEnemyX We can not reporduce this problem (PDF reader works as expected) and in order to fix it we first need to understand why is it happening for you and not for tohers, for which I am afraid we rely on your help.
The same problem is happening to me, where the pdf only shows once I reload the page. This has always happened and I haven't changed any settings. I'm running Orion version 0.99.124.1-beta on macos 13.4. A fix for this bug would be great as this is my biggest issue with Orion.
- Edited
Steps to reproduce:
No extensions are installed, a clean profile was tried, and Compatibility Mode was also tried.
- Open a PDF in browser, so that it opens in the in-browser viewer. Anything from ResearchGate, JSTOR or SharePoint will work.
- PDF will not load.
- Command-R, or reload page, and the PDF should appear this time.
This did not occur with the previous PDF viewer, nor does it occur with Safari's PDF viewer.
Expected behavior:
The PDF should be displayed once the first load is complete. Instead, a reload is required; downloads have to happen twice for a usable file to be extracted, which is very troublesome and slow for larger files.
Orion, OS version; hardware type:
Orion 0.99.124.1.2-rc
M1 MacBook Air 7-core GPU, 16GB RAM
macOS Ventura 13.4
You aren't the first one to mention this issue. I, however, am unable to reproduce this issue on RC or beta. Could you provide a video of the issue and provide a direct link to a pdf that requires a reload?
A video would be helpful indeed.
Would it be possible @SkullEnemyX, @Boot, or @HatshibaInu, to share debug information when this occurs? I'm having trouble reproducing it on my end. What I'm looking for is console logs, which can be retrieved like so:
- In the
Develop
menu, enableShow Console Errors Indicator
. - Trigger the bug by opening up a PDF page
- You will likely see a red circle with a "!" character next to the Refresh "↻" icon. Tap that button to open the console.
- Share a screenshot of the errors that are shown.
Thanks very much!
-nano
- Edited
I'm experiencing the same issue, so I thought I'd share my console error screenshot:
URL: https://arxiv.org/pdf/2302.12173.pdf
The PDF loads fine if I then press the reload button after that, although the errors are still present. There are also console warnings, but I've hidden them for the screenshot below.
Version 0.99.124.4.1-beta (WebKit 616.1.14.11.1)
MacBook Pro (macOS Ventura 13.4 build 22F66)
Hope this helps with the troubleshooting. I'd also want to take the chance to express my thanks for the shift to PDF.js, it's more feature-filled than the older PDF viewer, and has been very useful to me.
Steps to reproduce:
Click on https://www.africau.edu/images/default/sample.pdf.
Expected behavior:
The PDF should show in the browser like in Safari (
However, in Orion, it looks like this:
Orion, OS version; hardware type:
Version 0.99.124.4.1-beta (WebKit 616.1.14.11.1)
MacBook Pro 13", 2020, Intel (macOS Ventura 13.4 build 22F66)
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.
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.