Exporting to pdf opens file dialog, but fails to generate PDF with following error message in the right bottom corner:
Developer console canât be opened, but thatâs another issue; starting inkdrop from the terminal and reproducing the bug produces less output than the error above.
Environment
Platform: Fedora Linux
Platform version: 35
App Version: 5.4.3
How to reproduce
File -> Export -> As PDF⌠-> Select location and hit save
Thank you for reporting it.
I found that it happens when using with Embed plugin. Otherwise, it works fine.
The plugin replaces contents like tweets with iframe, which Electron doesnât allow for security reasons.
So, please try disabling plugins like Embed.
Iâll check if itâs possible to solve by using webview instead.
Thatâs weird. I tried to reproduce it but couldnât unless I used the Embed plugin.
Does it happen on every note? Or, do you find anything that would cause the issue?
Electronâs printToPdf API is quite unstable, unfortunately:
I try to keep my appâs Electron up-to-date as possible, and I hope itâll eventually solve the issue.
Disabled every plugin except for âexport printâ and created a new note containing only two sentences. It still fails in the same way. In fact, Export --> Print lets me print to file from the OS, but that fails silently.
Wait⌠Itâs not the printToPdf API. Starting inkdrop from the terminal with inkdrop --disable-seccomp-filter-sandbox fixes the issue and lets me both export to PDF and print.