sonobus icon indicating copy to clipboard operation
sonobus copied to clipboard

Link to open and connect to group doesn't work on Windows

Open findmeabug opened this issue 3 years ago • 1 comments

Hello, Thanks for the great app. I noticed that using a link (in the form http://go.sonobus.net/sblaunch?s=aoo.sonobus.net&g=myGroup2&p=myPass) to launch the standalone app and directly connect to a group works fine on macOS, but doesn't seem to work on Windows (10) (and on Android, for that matters, but that is not a problem for me).

On Windows the app is just launched but the connection info does not seem to be passed to the app. Searching in the registry, I saw that the SonoBus installer creates the key HKEY_CLASSES_ROOT\sonobus (I assume this is what makes the app "launchable" from a link) + the proper subkeys which seem to be what most online threads refer to as the necessary and sufficient step to register a new protocol (check, e.g., here).

I'm curious to know if anybody has a solution to make this easier way to connect to a group (i.e. via a link) viable in Windows, too.

Thanks

PS: I tried to follow the root of the problem by using some breakpoints, so I double checked what happens in the macOS source code when the link is clicked and it goes to the function anotherInstanceStarted in the file SonoStandaloneFilterApp.cpp. Now, if I tried to do the same on Windows, the function anotherInstanceStarted doesn't seem to be invoked when the link is clicked. Maybe this helps...

findmeabug avatar Oct 16 '21 14:10 findmeabug

I was also reported by windows users that the link doesn't work.

strk avatar Feb 21 '23 20:02 strk