9

Steps to reproduce:
1) Receive email in ProtonMail with a PDF attached
2) Click PDF attached at bottom of email
3) View window opens with nothing displayed

Expected behavior:
PDFs load in the new PDF viewer

Orion 0.99.124.1 (beta & RC), Ventura 13.4

  • Vlad replied to this.

    Does this issue also happen in Firefox, too? Would help rule out whether this is an issue with pdf.js or if this is more specific to ProtonMail’s website.

    Good thought. It's absolutely fine in Firefox 113

      Dustin can you find a similar use case which doe snot require having a protonemail acount to reproduce?

        Vlad I will attempt to do so and report back!

        I can confirm that Outlook behaves correctly. PDFs open as expected.

          a month later

          I've not been able to find another method to reproduce this outside of Proton.

            3 months later

            I have noticed the same issue:

            PDF Preview Not Loading Properly in Orion RC Browser

            Steps to Reproduce:

            1. Open Orion RC browser version 0.99.125.4-rc (WebKit 617.1.6) on macOS Sonoma 14.1 beta build 23B5046f

            2. Navigate to a website with a PDF link, such as Proton Mail, Proton Drive or HubSpot

            3. Click on the PDF link to open it in Orion

            4. Observe that the PDF preview does not load properly

            Expected Behavior:
            The PDF preview should load immediately and properly display the contents of the PDF file.

            Actual Behavior:
            The PDF preview is blank (Proton Drive) or fails to load completely (HubSpot) in Orion RC browser.

            System Information:

            • Orion RC Version: 0.99.125.4-rc (WebKit 617.1.6)
            • Build date: Sep 27 2023
            • Hardware: MacBook Pro M1 Pro
            • OS: macOS Sonoma 14.1 beta build 23B5046f

            Comparison:
            The issue does not occur in Safari browser on the same hardware and OS version. PDF previews load correctly in Safari.

            Additional Information:
            I have recorded a video showing the PDF preview loading issue in Orion RC browser compared to the proper behavior in Safari.

            Image/Video:

              Maxpl01t Is there a public website where this can be reproduced as we do not have access to Proton or HubSpot services.

                5 days later

                Vlad

                I have not been able to find a public website for the issue with HubSpot yet but I found the following error on the console:

                HubSpot (Compatibility Mode Enabled)

                HubSpot (Compatibility Mode Disabled)

                Regarding Proton Drive, I have shared a PDF from my own account to be publicly available so it can be tested properly.
                Here is the link: https://drive.proton.me/urls/DKACXZXSX8#togfSV52ZP9X

                  Maxpl01t Good call to share a link from Proton Drive. The issue is the same as with Mail and I can confirm it doesn't work for me (as with Mail) on Orion RC

                    Dustin

                    These are the console logs I get for Proton (Drive/Mail behave the same)

                    (Compatibility Mode Enabled)

                    (Compatibility Mode Disabled)

                      10 days later

                      Is anyone able to check this in latest RC?

                        Both @Maxpl01t's Drive link and my tests in Proton Mail are not working in the latest RC

                          11 days later

                          I also have this issue, on both Orion and Orion RC. Can help provide info if needed!

                          a month later

                          Same issue here. Click on a PDF attachment opens an empty PDF preview for me.

                          Would @dino or others have an idea on which flags/settings in Orion to change to make this work?
                          Thanks.

                          / EDITed to add versions
                          ORION Version 0.99.126.3-beta (WebKit 618.1.2)
                          PROTONMAIL (paid) 5.0.32.6 β
                          MacOS Sonoma 14.2

                            Vlad

                            I took this screenshot of the dev console errors. Perhaps it helps.