I need to open PDFs in an external viewer and cannot rely on the integrated Joplin PDF viewer due to various reasons.
Now when I click a note PDF attachment, the external viewer opens, but it freezes the whole application until PDF gets closed again.
Blocking is also default behavior for
xdg-open (Linux), but suboptimal in context of Joplin, when further notes are to be explored, while the PDF is still open. Besides, user experience is rather "surprising" and feels like an app crash.
Is this intended behaviour?
My proposal is to start the external application in a separate thread in a non-GUI-blocking fashion.
What do you think?