New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 626500 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug

Blocked on:
issue 634366

Blocking:
issue 518942



Sign in to add a comment

bluetooth: mac: Name is missing from Bluetooth chooser

Project Member Reported by f...@chromium.org, Jul 7 2016

Issue description

On Chrome canary for Mac, the name of the test device is missing from the chooser even though the website is able to pull it from the API.
 
Screen Shot 2016-07-07 at 4.32.55 PM.png
33.5 KB View Download
Screen Shot 2016-07-07 at 4.33.09 PM.png
13.5 KB View Download
Blocking: 518942
Owner: ortuno@chromium.org
Status: Assigned (was: Available)
hmm I don't think this is the chooser's fault. There is something wrong in either the device/bluetooth api or in the Web Bluetooth code. I'll have to take a look at how the page is getting the name.
Cc: jlebel@chromium.org
Owner: ----
Status: Available (was: Assigned)
So this is what happens:

1. Show the chooser
2. Start scanning
3. Once we find a device we get some information i.e. the name and put it in the chooser.

It seems that in 3, the device name is not yet available if this is the *first time* we are seeing the device, so it just shows the address.

To solve we I think we'll have to parse the name from the advertising data manually (Which is what CoreBluetooth does so it's surprising we don't get the name as soon as a device is discovered) and use that if the name is not available yet.
Blockedon: 634366

Comment 4 by scheib@chromium.org, Aug 10 2016

ortuno's patch series from https://codereview.chromium.org/2217573002/ will update the chooser items as additional advertisements are received. It may have the side-effect of updating the items with names if they're available at that later time.

Comment 5 by scheib@chromium.org, Aug 10 2016

Summary: bluetooth: mac: Name is missing from Bluetooth chooser (was: Name is missing from Bluetooth chooser)

Comment 6 by scheib@chromium.org, Aug 10 2016

Owner: ortuno@chromium.org
Status: Started (was: Available)

Comment 7 by ortuno@chromium.org, Aug 17 2016

Status: Fixed (was: Started)
Fixed by http://crrev.com/2242943002

Sign in to add a comment