jonjampen / obsidian-xournalpp

Obsidian plugin that seamlessly integrates Xournal++ for handwritten notes and annotations.
https://obsidian.md/plugins?id=xournalpp
GNU General Public License v3.0
19 stars 3 forks source link

Edit on Xournall++ don't shows on PDFs #6

Closed ranieldias closed 1 month ago

ranieldias commented 1 month ago

Describe the bug I'm using Obsidian (.deb) on PopOS, with Xournall++ (.deb). All the settings are ok, and the icon for "New Xournal" is working, but when I'm on a PDF or right-click a PDF I can't edit it with Xournal.

To Reproduce Steps to reproduce the behavior:

  1. Install Obsidian (.deb) and Xounal++ (.deb)
  2. Set the plugin
  3. Open a PDF on the Vault or Right-Click a PDF on the Vault.

Expected behavior An option to "Edit with Xournal".

Screenshots image

Operating System and Versions

jonjampen commented 1 month ago

Thanks for your message!

At the moment, the plugin does not support directly opening or editing a PDF as an annotation in Xournal++. The reason being that the latest release of Xournal++ does not include a command for using a PDF as an anntoation background yet. However, this feature was since added (here) and is available in the nightly build (version 1.2.3+dev) but not the official release.

The current functionality of my plugin allows you to click Open in Xournal++ on a PDF only if a corresponding XOPP file already exists with the same name and location as the PDF.

The intended workflow is that you create an XOPP file through Obsidian, which the plugin automatically converts to a PDF initially and then whenever changes are made. You can then right-click that PDF in Obsidian and click Open in Xournal++. Any further changes saved in Xournal++ will automatically update the PDF in Obsidian.

I plan to implement the Edit in Xournal++ feature soon as an experimental feature that can be activated by the users that use the nightly build of Xournal++. I'll change this bug report to a feature request.

For now, if you want to annotate a PDF, you can:

  1. Create a new XOPP file using the plugin.
  2. Open it in Xournal++.
  3. In Xournal++, select the PDF as an annotation background.
  4. Save your changes in Xournal++, and the plugin will automatically update the PDF with the new annotations.

I hope this workaround helps for now! Feel free to reach out if you have any other questions or suggestions. I appreciate your patience, and I'll work on getting the Edit in Xournal++ feature ready as soon as possible.

ranieldias commented 1 month ago

Thanks for the answear!

I missunderstand this feature:

Anyway, i really like the plugin, it's helping me start with Obsidian and tasks management. I'll wait for the feature and follow the steps above whiule it's not avaliable.