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

Issue 754948 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

New Translate Infobar - Menu text truncated when too long. It should wrap to multi-line.

Project Member Reported by martiw@chromium.org, Aug 12 2017

Issue description

Steps to reproduce: 
1. Launch the app (M60)
2. Enable the flag "New Translate Infobar"  flag from about://flags page
3. Visit any page in a language other than the System language(s).
(Example - Baidu.com,m.yahoo.com.cp)
4. Wait for page load to finish.
5. Tap on the menu (3 dots) button to show the menu.

Observed behavior: 
Menu text is truncated because the text is longer than the menu width.
(see attached screenshot)

Expected behavior: 
Menu text should wrap to multi-line.

Frequency: 
100%

 
Screenshot_1502439032.png
22.9 KB View Download

Comment 1 by martiw@chromium.org, Aug 15 2017

Attached screenshot of https://chromium-review.googlesource.com/c/611870 which is to fix this bug.
menuitem_multiline.png
126 KB View Download

Comment 2 by martiw@chromium.org, Aug 15 2017

Attached screenshot after adjusting the top/bottom padding to 13dp (from 14dp)
padding.png
823 KB View Download
Cc: rachelis@chromium.org
This still looks rather spacious in my opinion. Rachelis@ - any thoughts on whether we can adjust the padding below 13dp?

Comment 4 by rachelis@google.com, Aug 17 2017

Cc: hannahs@chromium.org
Thanks for looping me in Yana!
Matching the main overflow menu overall is the right thing to do here, since we should keep our overflow menus consistent.

+hannahs FYI
I'm not really aware of what the actual specced sizing should be here in both cases (from the stickersheet, it looks like 48dp for each line-item). Hannah - would you mind taking a quick look to make sure this seems in order?

(Documenting - There's no specced size in Bruno's spec or in Hwi's infobar spec) and m

Comment 6 by martiw@chromium.org, Aug 18 2017

Status: Fixed (was: Started)
Yes, this is based on the Material spec which sets the row height to 48dp (as it's the recommended touch target size).
Status: Verified (was: Fixed)
This issue is fixed as per the images in the comment #1 in current M62 - 62.0.3193.0. 

Sign in to add a comment