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

Why does "Please wait..." appear when I open a pdf from the web? #13781

Closed
cksgh1224 opened this issue Jul 23, 2021 · 7 comments
Closed

Why does "Please wait..." appear when I open a pdf from the web? #13781

cksgh1224 opened this issue Jul 23, 2021 · 7 comments
Labels

Comments

@cksgh1224
Copy link

Attach (recommended) or Link to PDF file here:
https://planeacion.uniandes.edu.co/images/Formatos/Juridica/Solicitud_para_legalizacion_elaboracion_de_un_contrato.pdf

Configuration:

  • Web browser and its version:
  • Operating system and its version:
  • PDF.js version: 2.10.357
  • Is a browser extension:

Steps to reproduce the problem:

  1. When I open the pdf on the web, the content is not visible.
  2. When I open it with Acrobat DC, it looks fine.

What is the expected behavior? (add screenshot)
(Acrobat DC)
image

What went wrong? (add screenshot)
(web-browser)
image

I try to reproduce while opening the pdf files with the issue, but many pdfs do not open when I try to open them on the web.
A phrase like "Please wait..." appears. Why is this?

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

@marco-c
Copy link
Contributor

marco-c commented Jul 23, 2021

This is a XFA form, we are adding support for this kind of forms in the next version of Firefox.
You can already test it out if you install Firefox Nightly or Firefox Beta.

@cksgh1224
Copy link
Author

This is a XFA form, we are adding support for this kind of forms in the next version of Firefox.
You can already test it out if you install Firefox Nightly or Firefox Beta.

So I can't see it in chrome?

@marco-c
Copy link
Contributor

marco-c commented Jul 23, 2021

What do you mean exactly? PDF.js is the PDF viewer used in Firefox. Chrome doesn't use PDF.js.

@Snuffleupagus
Copy link
Collaborator

Given that this PDF document works in e.g. Firefox Nightly, and the lack of information in the "Configuration:"-section of the ISSUE_TEMPLATE, I'm closing this issue as WORKSFORME.

@cksgh1224
Copy link
Author

What do you mean exactly? PDF.js is the PDF viewer used in Firefox. Chrome doesn't use PDF.js.

I was talking about when I accessed the demo site (https://mozilla.github.io/pdf.js/web/viewer.html) from the Chrome browser.

@cksgh1224
Copy link
Author

Given that this PDF document works in e.g. Firefox Nightly, and the lack of information in the "Configuration:"-section of the ISSUE_TEMPLATE, I'm closing this issue as WORKSFORME.

It was my first time using it, so I didn't know the format. Sorry

@Snuffleupagus
Copy link
Collaborator

Snuffleupagus commented Jul 23, 2021

I was talking about when I accessed the demo site (https://mozilla.github.io/pdf.js/web/viewer.html) from the Chrome browser.

Well, that wasn't mentioned anywhere in #13781 (comment), making it very difficult (or impossible) to understand what you meant :-)

Given that XFA-support is still under active development, and that there's a bunch of things not implemented yet, it's not enabled by default yet. In the demo viewer you can run PDFViewerApplication.preferences.set("enableXfa", true) in the console and then reload the viewer, which will enable XFA-support; however keep in mind that it's still somewhat experimental!

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

No branches or pull requests

3 participants