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

Issue 873330 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Sep 6
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Input method selection: method name is not completely displayed (truncated)

Project Member Reported by qqwangxin@chromium.org, Aug 10

Issue description

Chrome Version: (copy from chrome://version)
OS: (e.g. Win10, MacOS 10.12, etc...)

What steps will reproduce the problem?
(1)Enable keyboard input methods whose names are long
(2)Try to switch to a different input method
(3)

What is the expected result?
Input methods names are fully visible

What happens instead?
Input method selection: method name is not completely displayed (truncated)


Please use labels and text to provide additional information.

If this is a regression (i.e., worked before), please consider using the
bisect tool (https://www.chromium.org/developers/bisect-builds-py) to help
us identify the root cause and more rapidly triage the issue.

For graphics-related bugs, please copy/paste the contents of the about:gpu
page at the end of this report.


 
Screen Shot 2018-08-10 at 2.39.52 PM.png
1.3 MB View Download
Cc: shend@chromium.org
Owner: wuyingbing@chromium.org
Status: Assigned (was: Untriaged)
Should get UX feedback
i agree, let me reach out to UX.
UX suggest to show long title as "abc...xyz"(ellipsis in the middle), since head and tail are the most informative.
Hi @ggwangxin,

Does this solution sounds good to you, do you have any other suggestions or concerns?
Oh yeah, we discussed this a bit in the sync meeting today. One point was that ellipsis are usually accompanied by tooltips, but we can't use tooltips in this case because the virtual keyboard is usually used by touch.

Another option was putting the text in brackets (e.g. "(For Japanese Keyboard)") on a separate line, so you have two lines for each language.
Thanks, Can we make the box larger? This selection state is temporary, we don't need to worry that it covers a bit more of the virtual keyboard. (please help check the longest string and make sure it's not too long)

My concerns for ellipsis in the middle is that some input methods look too similar with ellipsis (e.g. Google Japanese Input in the screenshot) 

If length of string can vary, I think breaking the brackets into second line seem reasonable. Please make sure that padding/margin are adjusted so that a 2 line input method name doesn't look squished compared to 1 line input method names.

Thanks again.
Thank you guys for providing discussion and solution!

Per my search the longest one seems to be "Google Japanese Input (for Japanese keyboard)", while there're also some long names with brackets in the middle like "Russian phonetic (AATSEEL) keyboard".

I implemented a version with larger box, which will expand width to the longest item, and it looks fine with long names in 1 line.

You can take a look at the screenshots at cl/208790278.

In floating the padding/margin is slightly different with dock(which the spec states), already reviewed with UX about it.
Owner: iloahz@chromium.org
Status: Started (was: Assigned)
Cc: pcovell@chromium.org
Components: UI>Input>VirtualKeyboard
Project Member

Comment 10 by bugdroid1@chromium.org, Aug 29

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chromeos/overlays/chromeos-overlay/+/02d5da2ab215ae700542eeb0a613fa91cd75303c

commit 02d5da2ab215ae700542eeb0a613fa91cd75303c
Author: Darren Shen <shend@google.com>
Date: Wed Aug 29 18:16:14 2018

Status: Fixed (was: Started)

Sign in to add a comment