xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 4 years ago

Closed 3 years ago

Last modified 12 months ago

#1905 closed defect (fixed)

macos url handler does not open

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 2.4
Component: platforms Version: 2.3.x
Keywords: Cc:

Description (last modified by Antoine Martin)

Tested as part of #1894.

open xpra+tcp://

Fires up xpra as expected, but it actually does not connect anywhere.

The URL handling code was originally added in r12380.

Change History (4)

comment:1 Changed 3 years ago by Antoine Martin

Description: modified (diff)
Status: newassigned

comment:2 Changed 3 years ago by Antoine Martin

This does work (as expected - only trimming the connection string):

/Applications/Xpra.app/Contents/MacOS/Xpra attach xpra+tcp://HOST:PORT/

This does fire up the launcher:

open -a Xpra.app

And these fire up the launcher with the URL string (though there are parsing problems?):

open -a Xpra.app xpra+tcp://HOST+PORT/
open -a Xpra.app xpra://HOST+PORT/

So does this:

open xpra://HOST+PORT/

Maybe macos needs a reboot or something, because previously the same open command wouldn't get to the point of showing the launcher..

comment:3 Changed 3 years ago by Antoine Martin

Resolution: fixed
Status: assignedclosed

Fixes in:

  • r20154: look for the transport mode in the scheme part of the url
  • r20155: simplify url parsing
  • r20156 + r20157: add missing transport options, fix url parsing code

Going through the launcher for handling URLs has one advantage: we have a GUI for showing connection errors and URL problems, but there is also a problem with it: the global menu shown is the one for the launcher, not the full one - as per #1385.

comment:4 Changed 12 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1905

Note: See TracTickets for help on using tickets.