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

Issue 605093 link

Starred by 0 users

Issue metadata

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



Sign in to add a comment

Regression: Incorrect focus position is seen in chrome://downloads on pressing Tab key.

Reported by vvishwak...@etouch.net, Apr 20 2016

Issue description

Version: 52.0.2713.0 (Official Build) 939788c10e98a18cb74d5311f8792105930d9bd9-refs/heads/master@{#388380} (32/64-bit)
OS: All (Win 7-Aero enabled)

URL: http://mirror.internode.on.net/pub/test/

What steps will reproduce the problem?
1) Launch chrome, go to above URL and download any file.
2) Go to 'chrome://downloads', press Tab key till focus is on 'Pause' button and then press 'Enter' key.
3) Again press Tab key and observe.

On pressing Tab key focus stays on 'RESUME' button.

On pressing Tab key focus should be on 'CANCEL' button.

This is a Regression issue broken in M-50, below is the bisect info
Manual bisect:
Good build: 50.0.2657.0 
Bad build: 50.0.2658.0 

Narrow bisect URL:
https://chromium.googlesource.com/chromium/src/+log/7a1e387c1670c314ff76f26f5061c8abae030c7d..11efbc5592132de8ad0f2e5ef158ecaf91cb8861?pretty=fuller&n=100

Suspecting: r376949
 
downloads_actual.mp4
397 KB Download
downloads_expected.mp4
449 KB Download
Correction: 
Chrome version: 50.0.2661.86 4604d24a75168768584760ba56d175507941852f-refs/branch-heads/2661@{#615} (32/64-bit) 

Comment 2 by tkent@chromium.org, Apr 25 2016

Cc: dbeam@chromium.org kochi@chromium.org
Components: Blink>Focus
I haven't investigated the details yet.  But it seems cr.ui.FocusRow and sequential focus navigation starting point don't work together well.

Comment 3 by tkent@chromium.org, Apr 25 2016

Labels: -Pri-1 Pri-2
> 2) Go to 'chrome://downloads', press Tab key till focus is on 'Pause' button and then press 'Enter' key.

On this step,
 - [Pause] button has tabindex=0, SFNSP is this. It gets display:none, and blur event happens.
 - [Resume] button has tabindex=0, and gets display:inline-block.
 - [Cancel] button has tabindex=0

> 3) Again press Tab key and observe.

  - FocusController finds [Resume] button, which is the next focusable element in tree order.



I wonder how Chrome 52.0.2657.0 worked in this case.  If I removed the SFNSP feature on ToT, Step 3 focused on [CLEAR ALL] button in the top bar.


Downgrade to Pri-2 because the current behavior is not so crazy.


Project Member

Comment 4 by sheriffbot@chromium.org, Jun 1 2016

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

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

Comment 5 by tkent@chromium.org, Jun 24 2016

Labels: Needs-Feedback
I checked the behavior of r376947, it's just before my change. In Step 3, TAB key focused on [CLEAR ALL] button.  So the behavior was already broken before my change.

dbeam, is the current behavior acceptable?  If not, who's responsible for focus behavior of md-downloads?

Comment 6 by tkent@chromium.org, Jul 10 2016

Cc: tkent@chromium.org
Components: -Blink>Focus
Labels: -M-53 -MovedFrom-52
Owner: ----
Status: Untriaged (was: Assigned)
Delegate to the owners of UI>Browser>Downloads.  I can't fix this without feedback.

Comment 7 by kochi@chromium.org, Jul 12 2016

Owner: dbeam@chromium.org
Status: Assigned (was: Untriaged)
dbeam@, could you take a look or assign someone?

Comment 8 by dbeam@chromium.org, Jul 15 2016

Status: Started (was: Assigned)
I didn't understand what "SFNSP", which kept me from responding for a while.

the desired behavior is that focus effectively stays on "PAUSE" or "RESUME" when a downloads is paused/resumed via keyboard.  maybe I can just change the text of the button instead of hiding/showing different buttons.

Comment 9 by dbeam@chromium.org, Jul 16 2016

Labels: -Pri-2 -Needs-Feedback Pri-3

Comment 11 by dbeam@chromium.org, Jul 19 2016

Status: Fixed (was: Started)

Sign in to add a comment