I agree @cpbl -- there are almost certainly better options available.
Maciej Borzecki detailed a good proposal at
https://github.com/snapcore/snapd/pull/7731#issuecomment-585721100 (with
some follow-on thoughts added by jdstrand at
https://github.com/snapcore/snapd/pull/7731#pullrequestreview-362900171),
but at this point it's up to someone to implement it.

I just did the easy/lazy small Zoom PR, since I'm just an internet rando
without time at the moment to develop the real fix.

Unless something dramatically changes here in the next couple of weeks,
I think anyone wanting a simple way to get the old xdg behavior on 20.04
is going to forced to:

1) Use Google-supplied binary Chrome
or
2) Switch distros

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1776873

Title:
  Whitelisted allowedURLschemes breaks some desktop apps

Status in snapd:
  Triaged
Status in chromium-browser package in Ubuntu:
  Confirmed

Bug description:
  
https://github.com/snapcore/snapd/blob/7952972d4897e085030b288e44dc98b824f6723a/userd/launcher.go#L55

  snapd has a hard-coded list of allowed URL schemes. Currently that is
  limited to "http", "https", "mailto", "snap".

  We have a number of applications in the store which are trying to use
  protocol handlers outside this scope and break when that's not
  possible.

  e.g.

  Telegram Desktop: tg:/
  Github Desktop: git:/
  IRCCloud Desktop: irc:/

  These are the ones I know of, others may also be affected. Can we
  please at least expand the list to those that we know of, and perhaps
  research other popular protocol handlers?

  Ideally we wouldn't have a whitelist, because this delays our ability
  to land new applications with as-yet unknown url schemes.

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1776873/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to