Search widget "Scan QR code" broken if a tab is open |
||
Issue descriptionChrome Version (from "Settings > About Google Chrome"): 73.0.3637.0 If a page is open, tapping on "Scan QR Code" in the search extension doesn't work. The camera opens up and then a popup says "Camera is in use" and then the camera closes. I think this is because the `tabOpenedCompletion`, which opens the camera is being called twice in `openOrReuseTabInMode:withURL:transition:tabOpenedCompletion`. First, it's being added in line 2198: `[targetBVC appendTabAddedCompletion:tabOpenedCompletion];` and it's called directly in line 2215 (`tabOpenedCompletion()`). This causes the camera to be opened twice, and the second time fails.
,
Dec 17
No, I'm talking about the iOS widget/Today extension, "Chrome - Quick Actions". The code is in the `search_widget_extension` directory. One of the buttons is "Scan QR Code" and it causes Chrome to open and prepare to scan a QR code.
,
Dec 18
Marking this as RBS and assigning to Ed as it only reproduces on 73 and it might be related to the refactoring work on BVC. Maybe something else is broken, it should be investigated. |
||
►
Sign in to add a comment |
||
Comment 1 by pkl@chromium.org
, Dec 17Components: -UI>Browser>Mobile UI>Browser>Omnibox UI>Browser>Toolbar
Owner: gambard@chromium.org
Status: Assigned (was: Untriaged)