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

Issue 647014 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug
Team-Security-UX



Sign in to add a comment

Verbose state is misaligned for RTL locales

Project Member Reported by lgar...@chromium.org, Sep 14 2016

Issue description

Chrome 55.0.2860.0
OSX 10.11.6

What steps will reproduce the problem?
(1) Launch Chrome in Hebrew or Arabic.
(2) Visit google.com

What is the expected output?
The "Secure" verbose state fits in place.

What do you see instead?
It overlaps the division bar between the verbose state and the URL.

spqchan@, any chance this is a simple fix?


 
Screen Shot 2016-09-14 at 13.39.39.png
213 KB View Download
Screen Shot ٢٠١٦-٠٩-١٤ at ١٣.٤٢.٣٢.png
233 KB View Download
Cc: emilyschechter@chromium.org mgiuca@chromium.org
Components: UI>Browser>Omnibox>SecurityIndicators
Components: -UI>Browser>Omnibox -Security>UX
The misalignment for Hebrew as actually gotten worse (!). :-(
Screen Shot 2017-01-13 at 12.51.47.png
33.0 KB View Download

Comment 6 by est...@chromium.org, Jan 13 2017

Cc: lgrey@chromium.org
+lgrey who it looks like has worked on some RTL stuff for the security chip lately (https://codereview.chromium.org/2563593003, https://codereview.chromium.org/2594543004)
ping

I know this is not impactful for most users, but verbose states still look super clumsy for RTL users.
Sorry for not getting to this sooner, RTL work should go lgrey@ who is currently on a leave. However, he should return in about a week. I'll check with him about this once he returns
Cc: -lgrey@chromium.org spqc...@chromium.org
Owner: lgrey@chromium.org

Comment 10 by lgrey@chromium.org, Feb 22 2017

Cc: shrike@chromium.org
For reference, see attached image for how this looks with the experimental RTL flag on.

shrike@ do you think it's worth trying to address this before the RTL work lands?
Screen Shot 2017-02-22 at 11.08.20 לפ׳.png
14.3 KB View Download
I do. Can we just remove the experimental conditional flag around this bit of code?

How do things look with Arabic? The screenshot in c#1 shows some strange clipping along the bottom of the omnibox.


Comment 12 by lgrey@chromium.org, Feb 22 2017

Arabic attached.

The entire layout of the decoration is flipped under the RTL flag, so I think it might be a little odd without the whole Omnibox being flipped. I could just put another branch in the drawing code to adjust the text rect for the language = RTL, but RTL flag off case
Screen Shot ٢٠١٧-٠٢-٢٢ at ١٢.١٦.٣٥ م.png
7.6 KB View Download
OK. My main concern is that what we have currently looks unprofessional. If we don't want to flip the RTL flag for just the chip I would like us to fix the visual bugs in c#1.

Comment 14 by lgrey@chromium.org, Feb 22 2017

With https://codereview.chromium.org/2710043002 applied:
Screen Shot 2017-02-22 at 1.41.48 אח׳.png
7.4 KB View Download
Screen Shot ٢٠١٧-٠٢-٢٢ at ١.٤١.٢٩ م.png
13.0 KB View Download
Screen Shot 2017-02-22 at 1.42.05 PM.png
6.9 KB View Download
Project Member

Comment 15 by bugdroid1@chromium.org, Feb 23 2017

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

commit 2f8ae52186762d312b8fbbf44043ced4ef6a333c
Author: lgrey <lgrey@chromium.org>
Date: Thu Feb 23 15:51:04 2017

[Mac] Ensure security state label doesn't overlap divider

See bug for screenshots

BUG= 647014 

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

[modify] https://crrev.com/2f8ae52186762d312b8fbbf44043ced4ef6a333c/chrome/browser/ui/cocoa/location_bar/security_state_bubble_decoration.mm

Comment 16 by lgrey@chromium.org, Feb 27 2017

Status: Fixed (was: Assigned)
Confirmed on Canary

Sign in to add a comment