Zotero 7: Unresponsive reader.js
I got this following error when trying to open a 64 Mo EPUB file in Zotero:
The Debug ID is D479805520.A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
Script: resource://zotero/reader/reader.js:31427
It still takes between 20 to 30 seconds to open though, sometimes making Zotero hanging a bit just before opening. And also 4-5 seconds to close the tab sometimes.
When it is open, scrolling vertically is very fast.
Another issue is that it adds an horizontal scrolling bar, due to a blank space added on the right side, with around the same width as the normal page.
Debug ID: D636637114
Report ID: 1421627590.
dom.max_script_run_time
to0
, and then restart Zotero and try again. (It was set to 10, so if you were getting this, I guess something was taking at least 10 seconds, but we need to disable that warning dialog regardless.)This explains the "freezing". But it does not explain how the text got cut without any way to access the hiden part of the text, as you can see in the screenshot. I am not able to reproduce this problem at the moment though.
Home
,End
,Page Up
andPage Down
. It works at first when opening in Scrolled mode. But if I switch to Paginated and then back to Scrolled, they do not work anymore.This EPUB file seems to be quite problematic, so I switched to another one. The same process in the other EPUB file triggers a new navigation behaviour: Pressing
Page Up
andPage Down
seems to navigate through the chapters, with vertical scrolling through the pages limited to a single chapter. Is this some upcoming feature related to the outline?I guess the horizontal scroll bar and the empty space on the right is not supposed to appear in the first place, so that is probably the origin of the problem.
There's nothing wrong with that EPUB! It's just large and has a lot of images, so it's a good stress test for the new reader, which we had mostly tested on smaller books. By the Zotero 7 release, I'd like it to run (at least nearly) as smoothly and quickly on a book that size as it does on a small book.
For example, I get a vertical scrolling bar on the references at page 408 in Paginated mode: see screenshot.
Zotero 7.0.0-beta.36+3ef1f0992 (64-bit)
Windows 10
1) Restart Zotero
2) Open the EPUB file in the Zotero EPUB Viewer in Scrolled mode.
3) Switch to Paginated mode
4) Pressing any left or right keyboard shortcut jumps between the front pages of the chapters. I cannot access the other pages anymore.
Debug ID: D410310986
I’ll take a look at the second issue, thanks.