Hi team,
I've discovered an issue with the latest Zotero reader on GitHub (also on beta Zotero 8.0-beta.7+bdf49b9b0_win-x64) where annotations and theme color blending disappear when zooming to maximum levels.
Issue Details:
After investigating, I think this is related to recent PDF.js changes. Specifically, when users zoom beyond a certain threshold, PDF.js now renders high-resolution partial page views using a new sectioned canvas instead of the complete original canvas (see this commit).
This canvas switching behavior appears to cause Zotero's annotation layer and visual elements to be lost.
I tried to work on a potential fix, but I am still very new to the Zotero reader codebase and need to better understand how Zotero's reader integrates with PDF.js rendering. Would it be possible to get some guidance on:
I'm happy to contribute a fix once I have a better understanding of the architecture.
Thanks for your time.
Best Regards,
Xianpi Duan