Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safari 15.6.1 (macOS catalina) could not display pdf file properly. #3118

Open
drzchang opened this issue Aug 6, 2024 · 9 comments
Open

Comments

@drzchang
Copy link

drzchang commented Aug 6, 2024

Describe the bug/problem

I run a docker instance (linuxserver/calibre-web:0.6.23-ls281), and the pdf file content cannot display properly (nothing displayed) in Safari 15.6.1 (macOS catalina) while Chrome work well in the same MacBook pro.
This problem not only exist in this version, but also the previous versions (0.6.21 and 0.6.22).

I'm wondering it's related to calibre-web or linuxserver/calibre-web.

To Reproduce

Steps to reproduce the behavior:

  1. read any pdf file in browser.

Logfile

no specified log output for this problem.

Expected behavior

show pdf content.

Screenshots

Screen Shot 2024-08-06 at 9 55 26 AM

Environment (please complete the following information):

  • OS: QuTS Hero 5.1
  • Python version:
  • Calibre-Web version: 0.6.23
  • Docker container: linuxserver/calibre-web:0.6.23-ls281
  • Special Hardware: QNAP NAS
  • Browser: Safari 15.6.1

Additional context
no

@OzzieIsaacs
Copy link
Collaborator

There have been reports that older Mobil OS versions aren’t working properly. Like here: mozilla/pdf.js#18222
Could you please check if there is some error on the developers console in the browser visible?

@OzzieIsaacs
Copy link
Collaborator

And could you please check if both pdf files in the link are working/not working for you?

@drzchang
Copy link
Author

drzchang commented Aug 7, 2024

There have been reports that older Mobil OS versions aren’t working properly. Like here: mozilla/pdf.js#18222 Could you please check if there is some error on the developers console in the browser visible?

Screen Shot 2024-08-07 at 11 07 30 AM

I'm not familiar with web development, so I'm not sure if this is what you are looking for.

Additional notes:
I can open the same pdf file in the safari browser of my iPhone with iOS 17.6, and old safari in old macOS (catalina) cannot work.

@drzchang
Copy link
Author

drzchang commented Aug 7, 2024

And could you please check if both pdf files in the link are working/not working for you?

The PDF 1 link on the page https://test2.bannersky.com/bsk-pdf-manager/ use the old version 4.3.136, it CANNOT be open.

I don't find any pdf link in this link.

The PDF 1 link on the page https://wangjingtang.com/bsk-pdf-manager/ use the old version 4.0.379, it CAN be open.

work.

@OzzieIsaacs
Copy link
Collaborator

You are right, I had a conversation a few weeks ago, there the first link also had a pdf file in it. Anyway, the first screenshot was what I was looking for, and google had a good idea what to do.

@OzzieIsaacs
Copy link
Collaborator

Please try to update to the newest nightly version. I changed the pdf reader, for me both version were working, so I'm not sure (but quit confident) that it will work afterwards

@drzchang
Copy link
Author

drzchang commented Aug 12, 2024

Please try to update to the newest nightly version. I changed the pdf reader, for me both version were working, so I'm not sure (but quit confident) that it will work afterwards

Great. It works on my machine. Thanks a lot.

@blog2020
Copy link

blog2020 commented Aug 27, 2024

Please try to update to the newest nightly version. I changed the pdf reader, for me both version were working, so I'm not sure (but quit confident) that it will work afterwards

I also encountered the same problem with Docker container: linuxserver/calibre-web:0.6.23-ls281. I couldn’t open PDF in Chrome, Firefox, or Edge. Finally, I solved it by installing the nightly version. Thank you.

@machmalpause
Copy link

Fantastic ! Finally works well on an older iPad 5th gen 9.7 iOS 16.7.10.
Thank you for this great work, much appreciated ! Donation is on its way ;-)
BW

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants