BrowserWorks / Waterfox

The official Waterfox 💧 source code repository
https://www.waterfox.net
Other
3.83k stars 340 forks source link

Previewing large PDFs freezes Waterfox #733

Closed flolilo closed 3 years ago

flolilo commented 6 years ago

Describe the bug If you open a (large enough) PDF in Waterfox's preview, Waterfox will permanently freeze.

To Reproduce

  1. Have Waterfox set to preview PDF-files (default)
  2. Open any larger PDF in-browser (preferably in a new tab). Here's an example of a file It does not matter if the PDF was already visited before or not.

Now, the load-circle in the PDF's tab-header is spinning ad infinitum, while all other tabs freeze (i.e. you cannot write into text boxes any more). Closing the PDF-tab does not un-freeze Waterfox. Task Manager does not show any network activity at all.

Other browsers like Firefox and Vivaldi do not show this behavior.

Edit: Now something interesting has happened: While I can reproduce this behavior when opening a link to a file at duckduckgo.com or stackexchange.com, I cannot reproduce it when opening my example file from this very issue. Perhaps it would be best, then, to look up any camera's manual (e.g. Canon EOS 5D Mark IV manual) in DuckDuckGo to reproduce this issue.

Edit 2: What I already tried:

Expected behavior PDF should load, Waterfox should not freeze (obviously ;-) )

Screenshots Can deliver a screen capture, if you need that.

Desktop (please complete the following information):

grahamperrin commented 6 years ago

Initial load of http://gdlp01.c-wss.com/gds/0/0300024970/01/eos5d-mk4-im-en.pdf in 56.2.2 on FreeBSD-CURRENT:

From the properties dialogue:

Is the issue reproducible with Waterfox in safe mode?

flolilo commented 6 years ago

Yes, the problem persists in Safe Mode.

As said, it is interesting that I cannot reproduce it reliably when I click on my own link here at GitHub, while on every other site I use (and click on PDFs) this problem is there 100% of the time. It is not even specific to this PDF - any PDF that has more than, say, a few MB will lead to a permanent freeze.

grahamperrin commented 6 years ago

Thanks. Reproducible with a new profile?

flolilo commented 6 years ago

Just tested this now - same behavior as with the default profile. As said, this problem occurs on all computers that I maintain - all have Win10 v1803 x64 installed, but here, the similarities end.

Thanks for the great support!

Squall-Leonhart commented 6 years ago

antivirus url filtering

grahamperrin commented 6 years ago

about:plugins

What's there?

flolilo commented 6 years ago

As to Antivirus: I am using Windows's Defender. Tried deactivating it just now: No difference in behavior.

grahamperrin commented 6 years ago

Edit: … cannot reproduce it when opening my example file …

This reminds me of a recent Firefox for Windows (10) case that ended as inexplicably as it began:

Try this:

  1. about:preferences#applications
  2. for PDF, prefer anything other than Preview in Waterfox
  3. exit
  4. start Waterfox
  5. reopen a previously affected PDF (how, exactly, do you choose to reopen?)
  6. about:preferences#applications
  7. for PDF, revert to Preview in Waterfox
  8. exit
  9. start Waterfox
  10. reopen the previously affected PDF.

Is it previewed?

If not:


Defocusing from Waterfox (which I began using only a few months ago) and PDF: over the years I have lost count of the number of times that Firefox stubbornly refused to respect application handling preferences. Maybe more often bugged on Windows than on other platforms.

I lost track of relevant bugs (sorry) but I did get a sense that Mozilla fixed a few things. Maybe this Waterfox case has remnants of one of those bugs.

When you first used Waterfox, can you recall, did you accept the invitation to import from Firefox?

flolilo commented 6 years ago

@grahamperrin There is no difference in trying it with already downloaded files or new ones. Also, that reopen-sequence (I tried that before, but without knowing about this issue) does not help.

When you first used Waterfox, can you recall, did you accept the invitation to import from Firefox?

No, as I have not even had installed Firefox at the time of installing Waterfox - I just tried to reproduce this issue with it later on. Also, I did not import anything from other browsers.

Note: I updated the initial post, so that people do not have to read through all of it again.