I cannot open any external link under Ubuntu Joplin, even links under Help (for ex. join us on Bluesky) do not function. I tried to check on Ubuntu side, uninstall and reinstalling my default browser, or change it, but this do not help. Btw, my browsers are fully functional under Ubuntu. When I click a link under Joplin,, I get the message "no apps available" no apps installed that can open "null". You can find more apps in software...I checked my browser ability to open html web pages, and it is totally functionnal out of Joplin. So what? I do not find also an option in Joplin to change the default browser to open external links, Can ypu help?
snap run --shell joplin-desktop
> xdg-open https://google.com
And let me know what happens, also, are you this guy?
I did change some stuff relating to this functionality last week, but it doesn’t look like my side of the code is failing to work at all, but instead the associativity rules of the XDG Desktop Portals is failing to find anything valid handling http: or https:protocols on the system. It wasn’t even a code change, it was a Dbus dependency bump!
Often just swapping the default in the system defaults will be enough to update these rules in the backend, but I am just concerned why it keeps getting unable to open “null” specifically, which is why calling the binary directly might help.
Null isn’t even a valid concept here. The code checks the argc count and spaces aren’t valid, I’m not sure how xdg-open is getting a null at all, making me think it’s outside the snap itself.
Sorry for that, the underlying problem was specific to revisions 115 and 116 of the snap due to a dependency bump on a custom tool that replaces xdg-open with some custom logic to help in niche scenarios. The dependency was reverted and revisions 117 and 118 fixed it. They were then replaced in under an hour with 119 and 120 since I’d noticed 3.4.12 released too. That tool doesn’t get used anywhere else in the world, and only exists to try ease sandbox issues by controlling the XDG Desktop Portals directly (for super nerds, its the writable=true aspect on the org.freedesktop.portal.OpenURI.OpenFile API).
Unfortunately any similar problems are completely unrelated, the only fix is to not be on that snap revision because the snap itself is the problem not the system. Automatic updates will sort that out promptly for most.
Since revisions are awkward for users to deal with, it’s probably easier to say it’s fixed in 3.4.12, but was only ever a downstream issue, just timing wise, both the fix and 3.4.12 were pushed the same day.