Describe the bug
When a PDF file from GoodNotes 5 is exported and embedded as a PDF file in Anytype Desktop, it causes significant UI lag and is also somewhat incorrectly rendered. It appears as if all PDF files created with a non-blank template in GoodNotes will cause this issue, and files with more handwriting will cause more lag.
To Reproduce
Steps to reproduce the behavior:
- Export a file with handwriting or a non-blank template from GoodNotes in PDF format. I’ve provided the file as attachments in the “Additional Context” section.
- Import it back into Anytype in a PDF block. Once the PDF loads, the Anytype UI will lag significantly. The background will also appear to be darker and thicker than it actually is.
Expected behavior
I expected the PDF that was imported to not lag the UI significantly, as most other PDF viewers, such as Preview and Firefox’s PDF.js, are able to handle viewing the PDF with little issue.
System Information:
- OS: MacOS 12.1
- Device Manufacturer/Model: MacBook Air M1 Late 2020
- Anytype Version: 0.23.0
Additional context
Here’s the file that were exported directly from GoodNotes.
Untitled (Draft) 5.pdf (3.7 MB)