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

when reading a .pdf file in firefox the entire document is not read #14589

Open
fernando-jose-silva opened this issue Jan 26, 2023 · 6 comments
Labels
p3 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority triaged Has been triaged, issue is waiting for implementation.

Comments

@fernando-jose-silva
Copy link

Steps to reproduce:

open a .pdf document in firefox, I believe a document with at least 15 pages.
start reading the document in a sprint, nvda laptop + a

Actual behavior:

in my tests for page 3 or 5, nvda will stop reading the document and display the message for all pages:
chart loading page

Expected behavior:

nvda should read the entire .pdf document like it does in chrome.
It seems that firefox stops loading pages as nvda reads the document, this forces you to stop reading and press ctrl + f5.
it would be interesting for nvda to access new pages automatically as it happens in chrome.

System configuration

NVDA installed/portable/running from source:

portable

N

firefox.txt
VDA version:
nvda.exe, NVDA alpha-27590,180c9f2b

Windows version:

10 19045.2251

Name and version of other software in use when reproducing the issue:

firefox 109.0

Other information about your system:

Other questions

Does the issue still occur after restarting your computer?

yes

Have you tried any other versions of NVDA? If so, please report their behaviors.

no

If add-ons are disabled, is your problem still occurring?

yes

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

yes
log

@fernando-jose-silva
Copy link
Author

firefox.txt

@michaelDCurran michaelDCurran added p3 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority triaged Has been triaged, issue is waiting for implementation. labels Jan 30, 2023
@jcsteh
Copy link
Contributor

jcsteh commented Feb 2, 2023

Firefox doesn't load entire PDF documents because they can potentially be massive (thousands of pages), which would take a very long time to load. However, it should load new pages as you scroll to them. I believe NVDA scrolls during say all, so I'm not sure why this doesn't trigger in this case.

If you down arrow into those pages manually, does the content get loaded?

@fernando-jose-silva
Copy link
Author

@jcsteh
thank you very much for the feedback
when reading continues with nvda + a laptop command, and nvda announces
graphic loading page, if you stop reading with ctrl and navigate with the up and down arrows it doesn't make the pages read by nvda, I managed to make nvda read the page by pressing ctrl + f5.

@jcsteh
Copy link
Contributor

jcsteh commented Feb 9, 2023

Could you provide a link to a PDF which reproduces this? I just want to be sure we have consistent reproduction of the issue here.

@fernando-jose-silva
Copy link
Author

Cegueira e Autismo -Prevencion e intervencion en los trastornos del desarrollo.pdf
Thank you very much, attached is the .pdf document.

@jcsteh
Copy link
Contributor

jcsteh commented Feb 23, 2023

I previously believed NVDA would scroll during say all based on this code. However, it definitely doesn't, as demonstrated by this test case:

data:text/html,<body onscroll="alert('scroll');"><style>hr { height: 100vh; }</style><p>a</p><hr><p>b</p><hr><p>c</p><hr><p>d</p>

Whenever this page scrolls, it pops up a dialog telling you so. If you use the arrow keys on this page, you see that dialog. However, if you use say all, you don't.

I now recall why it doesn't work, as I described in #904 (comment).

In short, this issue will be fixed if/when #904 is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p3 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority triaged Has been triaged, issue is waiting for implementation.
Projects
None yet
Development

No branches or pull requests

3 participants