"Refresh devices" button on UI doesn't update existing device's status
- Dominant language
- C++
- Stars
- 6.5k
- Forks
- 868
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 218
Description
If phone is locked when I plug in adb cable, it says "adbStatus=OFFLINE", then after I unlock and grant permission, pressing this button doesn't update the status. Instead, reloading the whole page is needed.
If `traced` process is not running, it asks me to `adb shell setprop persist.traced.enable 1`, after I do that, pressing this button also doesn't update the status.
And if `traced` process is not running, when you open or reload UI, this error always pops up.
I think this happens on chrome, edge and firefox, at least on windows and when transport is WebDeviceProxy.
Contributor guide
Research direction
Start with the UI's "Refresh devices" button and reproduce the WebDeviceProxy flow using a locked phone, then unlock it and grant permission. Also test the case where traced is not running; done means the button updates the existing device status without a full-page reload and avoids the recurring error.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100