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

Issue 694739 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Mar 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug



Sign in to add a comment

[UI string] [QR code scanner] QR code scanner copy is missing a verb

Project Member Reported by srahim@chromium.org, Feb 21 2017

Issue description

String currently says: "QR Code or barcode"

Please update to: "Position QR code or barcode in this frame"

per discussion with amyroberts@
 
Cc: jasonkliu@chromium.org
Cc: jif@chromium.org
Labels: -Restrict-View-Google
Owner: srahim@chromium.org
The text is extremely close to the edge of the screen on a 5S (IMG_0002).  It's not very close on a 6S (IMG_0494).  Should we shorten the length of the text or is this implementation ok?  Thanks.
IMG_0002.PNG
785 KB View Download
IMG_0494.PNG
1.7 MB View Download
Project Member

Comment 3 by bugdroid1@chromium.org, Feb 22 2017

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

commit 3974d9eded98f5261afbc2b4315f0c22fdd10072
Author: jif <jif@chromium.org>
Date: Wed Feb 22 13:11:20 2017

Make the QR Code scanner caption fit on multiple lines.

BUG= 694739 

Review-Url: https://codereview.chromium.org/2709943002
Cr-Commit-Position: refs/heads/master@{#452022}

[modify] https://crrev.com/3974d9eded98f5261afbc2b4315f0c22fdd10072/ios/chrome/browser/ui/qr_scanner/qr_scanner_view.mm

Comment 4 by jif@chromium.org, Feb 22 2017

This CL adds padding between the edges of the screen and the string, and allows the text to run on multiple lines. That should help for the problem mentioned in #2.

The CL does *not* actually change the string.
Screen Shot 2017-02-22 at 1.38.17 PM.png
47.4 KB View Download

Comment 5 by sczs@chromium.org, Feb 22 2017

Cc: -jif@chromium.org
Owner: jif@chromium.org
Status: Assigned (was: Untriaged)
Jif, could you please update the status.
jif: Could you add screenshots similar to those in #2 with the new padding?  I'm unable to build at the moment.  Thanks!

Comment 7 by jif@chromium.org, Feb 23 2017

Screenshot taken on the simulator, hence the error dialogs.
Screen Shot 2017-02-22 at 7.22.57 PM.png
44.4 KB View Download
Screen Shot 2017-02-23 at 10.09.00 AM.png
42.9 KB View Download
Cc: jif@chromium.org
Owner: srahim@chromium.org
Is the implementation in #7 (especially for 5S) okay?  If so, we can land the change.  Thanks!
The padding looked a bit off to me so I asked Amy for a sanity check. She found that the padding around the text doesn't match the padding around the frame and suggested we increase the padding around text so it's same as the frame - 31 pts. She will attach a mock. 
Cc: srahim@chromium.org
Owner: jif@chromium.org
mock attached. new padding tested in english and longest language (german) per go/translate50. After that string issue should be good to go. 
Screen Shot 2017-02-28 at 4.22.16 PM.png
420 KB View Download

Comment 12 by jif@chromium.org, Mar 2 2017

Status: Fixed (was: Assigned)
Padding and string changed.
Verified in 58.0.3029.6 Canary, iPhone 5S iOS 10.2
The string "Position QR code or barcode in this frame" looks good,
Translations are not in yet, Need to retest once translations in.

Sign in to add a comment