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

Issue 851723 link

Starred by 1 user

Issue metadata

Status: Verified
Owner: ----
Closed: Aug 24
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Minnie: Settings UI doesn't show the BT devices

Project Member Reported by pbath...@chromium.org, Jun 11 2018

Issue description

Chrome Version: 68.0.3440.18 / 10718.16.0

What steps will reproduce the problem?

(1)Pair and use BT devices
(2)Check the BT sub-menu in status tray and the BT menu in settings page.

What is the expected result?

Both the BT sub-menu and settings page should show the paired and available BT devices

What happens instead?

The BT settings page doesn't show the paired and available BT devices.


Please use labels and text to provide additional information.

https://listnr.corp.google.com/report/85494827027


 
Screenshot 2018-06-11 at 3.53.23 PM.png
68.0 KB View Download
debug-logs_20180611-155333.tgz
1.3 MB Download
Cc: mcchou@chromium.org sonnysasaka@chromium.org rjahagir@chromium.org josephrollins@google.com
Cc: -josephrollins@google.com josephsih@chromium.org
Some questions to help diagnose:
1. Is this *always* reproducible?
2. Is this a regression? (is it known that it worked in an older version?)
3. Is this board-specific? (is it known that it works in other board with same version?)
Re #3,
1.I have seen it almost all the times on minnie today ( about 90% of the times)
2. Not sure if it's regression, the BT menu in settings page takes bit of time to load the devices list, but today it was just showing as no devices found
3.I have seen it on minnie today, will update the bug if i see it on other devices too.
Please refer attached video.

The issue seems to happen only when we go the settings page from the BT sub-menu in status tray. If we directly open settings page and then go to the BT menu, we can see the paired devices.
IMG_8330.MOV
7.0 MB View Download
Project Member

Comment 6 by bugdroid1@chromium.org, Aug 24

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c2c1d5df85f845a919262af0ec606d1bbdc15114

commit c2c1d5df85f845a919262af0ec606d1bbdc15114
Author: Sonny Sasaka <sonnysasaka@chromium.org>
Date: Fri Aug 24 23:13:19 2018

settings: Always fetch Bluetooth device list when the page starts

Currently the page fetches the Bluetooth device list when there is a new
Bluetooth device added. This is not quite right, since we can't rely
on the expectation that a new Bluetooth device will be discovered often.
This problem has become even more visible ever since we implemented
Bluetooth device filter that dramatically lowers the probability of new
device appearing. As a result users often encounter that the Bluetooth
settings page show no devices at all (while actually will eventually
show some devices after waiting for very long).

The bug is due to race condition that bluetoothToggleState is updated
later than adapterStateChanged_. So the solution is to not rely on
bluetoothToggleState but adapterStateChanged when updating device list.

Bug:  851723 
Change-Id: Ib4d0207f04fd938ad1744c453f5bf24b9fd78ad0
Reviewed-on: https://chromium-review.googlesource.com/1187718
Commit-Queue: Sonny Sasaka <sonnysasaka@chromium.org>
Reviewed-by: Michael Giuffrida <michaelpg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#586040}
[modify] https://crrev.com/c2c1d5df85f845a919262af0ec606d1bbdc15114/chrome/browser/resources/settings/bluetooth_page/bluetooth_subpage.js

Status: Fixed (was: Untriaged)
Cc: dwmclary@chromium.org xiaoyinh@chromium.org steve...@chromium.org r...@chromium.org
 Issue 717678  has been merged into this issue.
Status: Verified (was: Fixed)

Sign in to add a comment