[Z7 Beta] Loading the outline takes very long and sometimes crashes the reader
Hi, in the more recent betas I've noticed that opening the outline view feels quite sluggish for longer PDFs. I quite often see the spinning wheel for more than 20 seconds when opening it.
When opening the outline view in the left-hand pane before the PDF is fully loaded it also crashes the left-hand pane and the reader toolbar at the top. I can reproduce this reliably with at least some bigger PDFs.
DebugID: D1221498447
The end result looks quite similar to what I described here: https://forums.zotero.org/discussion/114835/z7-beta-annotation-pane-and-toolbar-turn-blank-after-trying-to-change-page-number#latest
I've also captured a video: https://imgur.com/a/wsMJ1P0
When opening the outline view in the left-hand pane before the PDF is fully loaded it also crashes the left-hand pane and the reader toolbar at the top. I can reproduce this reliably with at least some bigger PDFs.
DebugID: D1221498447
The end result looks quite similar to what I described here: https://forums.zotero.org/discussion/114835/z7-beta-annotation-pane-and-toolbar-turn-blank-after-trying-to-change-page-number#latest
I've also captured a video: https://imgur.com/a/wsMJ1P0
7.0.0-beta.84+71f83c0a3 (64-bit)
Debug ID: D1369890212
7.0.0-beta.87+f59a4da7f (64-bit)
Now it seems to crash a bit faster instead of taking so long to load.
It seems to only happen when the file in question has no actual document outline AND the file is more than maybe 20 MB? I can reproduce it on a 63 MB document, and I can make it stop happening by editing the file in Acrobat and manually adding at least 1 bookmark position.