New issue
Advanced search Search tips

Issue 915275 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 1
Type: Bug



Sign in to add a comment

Search widget "Scan QR code" broken if a tab is open

Project Member Reported by rkgibson@google.com, Dec 14

Issue description

Chrome 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.
 
Cc: stkhapugin@chromium.org
Components: -UI>Browser>Mobile UI>Browser>Omnibox UI>Browser>Toolbar
Owner: gambard@chromium.org
Status: Assigned (was: Untriaged)
rkgibson: Can you clarify what you mean by "search extension"? Do you mean a force-touch on the Chrome icon on Springboard and then select "Scan QR Code"?

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.
Cc: gambard@chromium.org marq@chromium.org
Labels: -Pri-3 ReleaseBlock-Stable M-73 Pri-1 Type-Bug
Owner: edchin@chromium.org
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