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

Issue 626989 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

MD Settings: Ensure all drop-down options are selectable using "Enter" key.

Reported by yfulgaon...@etouch.net, Jul 11 2016

Issue description

Chrome version : 54.0.2793.0 (Official Build) 6667812b2dffe3f6bf794b2b040504e5a3ad7cb7-refs/heads/master@{#404564} (32/64 bit)
OS :  Windows (7,8,8.1,10), Linux(14.04 LTS) and Mac(10.10.5, 10.11.4)

What steps will reproduce the problem?
1) Launch chrome and go to chrome://md-settings.
2) Click on 'Font size' drop down list and press down arrow key to highlight the next item in drop down list.
3) Hit Enter key and observe.

Actual : Unable to select an option from drop down list using Enter key.
Expected : User should be able to select an option from drop down list using Enter key.

This is a regression issue broken in 'M-53', below is the Manual regression and Narrow Bisect info:
Good Build : 53.0.2784.0
Bad Build : 53.0.2785.0

Narrow Bisect :
https://chromium.googlesource.com/chromium/src/+log/840bb0f5eda052f9d0da148ced3a04610c4dc02d..084aec7f79d92169449f435c51aa6f562413b323?pretty=fuller&n=10000

Suspecting : r403366 ? from Narrow Bisect.

Note : 
1) The same issue is also seen for 'Page zoom' and 'Search Engine' drop down list in chrome://md-settings.
 
Actual_Result.mp4
707 KB View Download
Expected_Result.mp4
1.1 MB View Download
Labels: ReleaseBlock-Stable
Able to reproduce the issue on Windows, Mac and Linux. So adding RB Label as this is a Recent Regression. Please remove if not required.
Thank You.

Comment 2 by dpa...@chromium.org, Jul 11 2016

Cc: michae...@chromium.org
This is indeed caused by https://chromium.googlesource.com/chromium/src/+/d516b7a2c3b7c11aedd23522b34e6cfbb7916df5.

@michaelpg: The change from <paper-item> to <div> inside the <paper-dropdown-menu> caused the selection to not change when hitting the "Enter" key. Do you have any suggestions on how to fix (while still using <div>s)?

Comment 3 by dpa...@chromium.org, Jul 11 2016

Labels: -ReleaseBlock-Stable Proj-MaterialDesign-WebUI
Labels: Hotlist-MD-Settings-PageA11y
Project Member

Comment 5 by sheriffbot@chromium.org, Jul 12 2016

Labels: -M-53 M-54 MovedFrom-53
Moving this nonessential bug to the next milestone.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 6 by dpa...@chromium.org, Jul 12 2016

@michaelpg: This regression can be fixed by changing <div class="dropdown-item"> with <button> (and tweaking the style a bit), see https://cs.chromium.org/chromium/src/chrome/browser/resources/settings/controls/settings_dropdown_menu.html?l=21,23.

I recall you also had a PR that was adding the paper-item CSS class, which was meant to land soon. What do you think about going forward with the proposed fix? Should we wait until your paper-item PR lands instead?
Looking at my PR to see if we can land a fix that works for everyone.
I've commented on the paper-item issue: https://github.com/PolymerElements/paper-item/issues/85#issuecomment-232207944

I do not know why a fix that used to work now *hides the focused item* in shady DOM, and frankly it doesn't seem like our job to investigate.

Comment 9 by dpa...@chromium.org, Jul 13 2016

Status: Started (was: Assigned)
Summary: MD Settings: Ensure all drop-down options are selectable using "Enter" key. (was: Regression : Unable to select an option from drop down list using Enter key in chrome://md-settings.)
r405374 fixes the issue for <settings-dropdown-menu> (somehow the bug was not automatically updated).

I am going to re-purpose this bug to be slightly more generic.
Project Member

Comment 11 by bugdroid1@chromium.org, Jul 15 2016

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

commit ada53fa9511af7324edad932dacd5157a70891b9
Author: dpapad <dpapad@chromium.org>
Date: Fri Jul 15 18:01:02 2016

MD Settings: Fix search engines drop-down menu.

The same change fixes two issues.
1) No more showing of unnecessary horizontal scrollbar.
2) Allow using "Enter" key to change dropdown selection.

BUG= 628499 , 626989 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

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

[modify] https://crrev.com/ada53fa9511af7324edad932dacd5157a70891b9/chrome/browser/resources/settings/search_page/search_page.html

Status: Fixed (was: Started)

Sign in to add a comment