Skip to main content

'x-nvultra://open' URL handler stopped working

Completed

Comments

14 comments

  • Fletcher Penney

    Does nvUltra have permission to access the desired directory?

    0
  • Fletcher Penney

    Is this working for you in the latest release?

    0
  • James Allan Lodberg

    Everything works inside the app for my various notebook directories, so I can only assume that nvUltra has permission.

    Unfortunately no, I still have the issue with the same symptoms with the 2022.05.13.15.34 release on my Monterey machine.

    0
  • Fletcher Penney

    This seems to be working for me  -- is it still broken with today's release?

    0
  • James Allan Lodberg

    Opening by specifying a notebook and note, for example: x-nvultra://open?notebook=blah&note=thenote is still not working for me (with that new release 2023.01.16.14.18). Same behaviour as outlined in my original post

    0
  • Fletcher Penney

    nvUltra is sandboxed, and I think the `~` might be problematic.  Try using the full path to the desired folders.

    0
  • Fletcher Penney

    Looks like there is also a separate issue where there is a race condition that can cause the wrong window to be selected if the the folder navigator is open.  This is fixed for next version.

     

    0
  • James Allan Lodberg

    Yes! Full path works. And yes, I also noticed a bit of strangeness, where if I had one notebook open, and used a link for another notebook, it didn't open the second notebook, but just tried to search in the open one, or opened the folder navigator. After quitting and restarting a couple times the second notebook opened to my desired note. I'll test more in the next version 👍🏻

    (by the way, any plans for adding a "copy a URL to this note in this notebook" command? that would be handy!)

    0
  • Fletcher Penney

    That's the race condition as well -- it grabs key window, instead of finding a specific document's window.

     

    I believe Brett is experimenting with something similar for a potential future update.  (No promises!)

    0
  • Fletcher Penney

    I added a change to support `~/` in URLs that will be included in the next update.

    0
  • Fletcher Penney

    Fixed for next release.

    0
  • James Allan Lodberg

    nice 👍🏻 will test

    0
  • James Allan Lodberg

    So far so good with 2023.03.03.01.54, thanks!

    Just tried a couple of my old test URLs of the form:

    x-nvultra://open?notebook=~/OneDrive/Dokumenter/Notes/&note=My%20Note.txt

    x-nvultra://open?notebook=~/Library/Application%20Support/Notational%20Data/&note=Another%20note.txt

    And in both cases it opened the correct notebook, and took me straight to the note 😃

    0
  • Fletcher Penney

    James Allan Lodberg -- glad to hear it!

    0

Please sign in to leave a comment.

Powered by Zendesk