[Bug 1887201] Re: [snap] web bluetooth does not work

2020-07-15 Thread Olivier Tilloy
The plug has been added to all channels, the next builds will have it
(I'm about to push new builds to the edge channel for chromium
85.0.4183.26).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887201

Title:
  [snap] web bluetooth does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1887201/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1887201] Re: [snap] web bluetooth does not work

2020-07-15 Thread David Lechner
What about the other channels? In particular we need Chromium 85 (for
other reasons) which is the edge channel.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887201

Title:
  [snap] web bluetooth does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1887201/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1887201] Re: [snap] web bluetooth does not work

2020-07-15 Thread Olivier Tilloy
Thanks David. The updated snap with the bluez plug is now in the stable
channel (for amd64, other architectures will follow shortly), so I'm
marking this bug fixed. Let's follow up on the auto-connection topic on
the snapcraft forum.

** Changed in: chromium-browser (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887201

Title:
  [snap] web bluetooth does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1887201/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1887201] Re: [snap] web bluetooth does not work

2020-07-15 Thread David Lechner
Yes, thank you. I was able to update the post now.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887201

Title:
  [snap] web bluetooth does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1887201/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1887201] Re: [snap] web bluetooth does not work

2020-07-15 Thread Olivier Tilloy
Thanks David, your contribution is much appreciated. I talked to the
forum admins, and I've been told you should now be able to post your
original auto-connection request without limitations. Can you please try
again?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887201

Title:
  [snap] web bluetooth does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1887201/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1887201] Re: [snap] web bluetooth does not work

2020-07-14 Thread David Lechner
This is as far as I got before my account was locked.
https://forum.snapcraft.io/t/request-to-autoconnect-chromium-to-
bluez/18856

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887201

Title:
  [snap] web bluetooth does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1887201/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1887201] Re: [snap] web bluetooth does not work

2020-07-14 Thread David Lechner
I attempted to post the following request on the snapcraft store to
start the request process, but was not able to because I am a "new" user
(limited to 2 links and one image):

The [chromium](https://snapcraft.io/chromium) web browser has support
for [Web Bluetooth](https://webbluetoothcg.github.io/web-bluetooth/).

This is still considered experimental on Linux and must be enabled in
the Browser setting via [chrome://flags/#enable-experimental-web-
platform-features](chrome://flags/#enable-experimental-web-platform-
features).

Although technically it is experimental, we have found that it works
perfectly well for our web app.
[https://code.pybricks.com/](https://code.pybricks.com/)

The app can detect if a browser supports Web Bluetooth or not. For
example if using Firefox (which doesn't have Web Bluetooth support) or
using Chromium with experimental web features disabled, uses will see
this error message when clicking the Bluetooth button.

![image|690x150](upload://1kJRGfmFGeh950fRaNBJyit6HuY.png)

If Web Bluetooth is enabled, users will see this dialog box instead.

![image|473x451](upload://92EaYl536hIj5Sdwp3u8Eieo4wV.png)

However, we recently discovered that [Chromium installed via snap does
neither](https://bugs.launchpad.net/ubuntu/+source/chromium-
browser/+bug/1887201). Clicking the Bluetooth button simply does
nothing. This can be fixed by manually connecting the Chromium snap to
the [BlueZ](https://snapcraft.io/bluez) interface.

It does not seem reasonable to expect all web developers using Web
Bluetooth to add a special case to their web app to detect Chromium
running in a snap without bluez connected (and this is very probably not
even technically possible at this point in time) and to communicate to
their users that there are extra steps needed to manually configure
their web browser via a terminal window.

Therefore we are requesting that the chromium snap be allowed to
automatically connect to the bluez interface.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887201

Title:
  [snap] web bluetooth does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1887201/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1887201] Re: [snap] web bluetooth does not work

2020-07-14 Thread Olivier Tilloy
Thanks for the feedback David.

By default the bluez interface is not connected automatically (see
https://snapcraft.io/docs/bluez-interface). Having it auto-connected
would require a store assertion that needs to be requested and approved
by a team of reviewers.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887201

Title:
  [snap] web bluetooth does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1887201/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1887201] Re: [snap] web bluetooth does not work

2020-07-14 Thread David Lechner
I can confirm it is working now. Thank you very much for the fix.

Will everyone that wants to use Web Bluetooth have to manually connect
chromium:bluez or will it be connected by default eventually?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887201

Title:
  [snap] web bluetooth does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1887201/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1887201] Re: [snap] web bluetooth does not work

2020-07-14 Thread Olivier Tilloy
I installed the snap from the candidate channel, and after enabling the
experimental feature flag, I get a popover dialog that appears to be
searching for compatible bluetooth devices, so it seems to work as
expected. I cannot fully confirm as I don't own a compatible device
though.

David, please test and confirm. Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887201

Title:
  [snap] web bluetooth does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1887201/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1887201] Re: [snap] web bluetooth does not work

2020-07-14 Thread Olivier Tilloy
Note that you will need to manually connect the bluez interface:

snap connect chromium:bluez

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887201

Title:
  [snap] web bluetooth does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1887201/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1887201] Re: [snap] web bluetooth does not work

2020-07-14 Thread Olivier Tilloy
Now available as revision 1228 in the candidate channel. Please test and
let me know whether this works:

snap refresh chromium --candidate

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887201

Title:
  [snap] web bluetooth does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1887201/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1887201] Re: [snap] web bluetooth does not work

2020-07-13 Thread Olivier Tilloy
Currently building in the candidate channel, should be available for
testing in ~24hrs.

** Changed in: chromium-browser (Ubuntu)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887201

Title:
  [snap] web bluetooth does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1887201/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1887201] Re: [snap] web bluetooth does not work

2020-07-13 Thread Olivier Tilloy
Tentative fix: https://git.launchpad.net/~chromium-team/chromium-
browser/+git/snap-from-
source/commit/?id=9dbd890c5c48305ad3acc97f8098f6ff8173eeae

** Changed in: chromium-browser (Ubuntu)
 Assignee: (unassigned) => Olivier Tilloy (osomon)

** Changed in: chromium-browser (Ubuntu)
   Importance: Undecided => Medium

** Changed in: chromium-browser (Ubuntu)
   Status: New => In Progress

** Tags added: snap

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887201

Title:
  [snap] web bluetooth does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1887201/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1887201] Re: [snap] web bluetooth does not work

2020-07-13 Thread Olivier Tilloy
I suspect adding the bluez plug would help, I'm going to push a revision
in the candidate channel with this so you can test and let me know if it
helps.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887201

Title:
  [snap] web bluetooth does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1887201/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1887201] Re: [snap] web bluetooth does not work

2020-07-13 Thread Olivier Tilloy
Note that the feature is behind an experimental flag which isn't enabled
by default: chrome://flags/#enable-experimental-web-platform-features

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887201

Title:
  [snap] web bluetooth does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1887201/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs