Closed
Bug 1032724
Opened 10 years ago
Closed 10 years ago
Improve spatial navigation
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 33
People
(Reporter: kershaw, Assigned: kershaw)
Details
Attachments
(2 files, 1 obsolete file)
2.41 KB,
text/html
|
Details | |
8.60 KB,
patch
|
kershaw
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
I've observed some strange behaviors of the current spatial navigation by the test page http://jsfiddle.net/LECVP/8/show/. Take a look at the following two diagrams. A is the current focused element. When pressing down key, expect: B should be focused. actual: C is focused. 1. +---+ | A | <-- the current focused element +---+ +---+ +---+ | B | | C | +---+ +---+ 2. +-----+ | A | <-- the current focused element +-----+ +------------------------------------------+ | | | B | | | +-----+------------------------------------+ +-----+ | C | +-----+
Assignee | ||
Comment 2•10 years ago
|
||
Add the third case. 3. B and C are all below A. When pressing down key, B should be focused, not C. +---+ | A | <-- the current focused element +---+ +---+ | B | +---+ +---+ | C | +---+
Assignee | ||
Comment 3•10 years ago
|
||
Hi Brad, First, I am not sure if you are the one to talk about spatial navigation. If not, would you please help me to get the correct one involved? I would like to make sure if this is really a bug. Have you seen the same cases I mentioned above? Thanks. Kershaw
Flags: needinfo?(blassey.bugs)
Comment 4•10 years ago
|
||
(In reply to Kershaw Chang [:kershaw] from comment #3) > Hi Brad, > > First, I am not sure if you are the one to talk about spatial navigation. If > not, would you please help me to get the correct one involved? > I would like to make sure if this is really a bug. Have you seen the same > cases I mentioned above? > > Thanks. > Kershaw I have not tested spatial navigation in almost a year. What you describe sounds like a bug. Can you attach a test case?
Flags: needinfo?(blassey.bugs)
Assignee | ||
Comment 5•10 years ago
|
||
Upload a test case which shows the problem I mentioned in case1.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → kechang
Assignee | ||
Comment 6•10 years ago
|
||
Hi Brad, I've uploaded my proposed patch. Would you help to review it? Thanks.
Attachment #8452192 -
Flags: review?(blassey.bugs)
Comment 7•10 years ago
|
||
Hi Kershaw, I've twice started to reivew this patch but have been pulled off for other things. Unfortunitely it takes a little extra time since this isn't code that I've been looking at a lot lately. I should have time to get this review done tomorrow though.
Assignee | ||
Comment 8•10 years ago
|
||
Hi Brad, No problem! Take your time. Really thanks for your help.
Comment 9•10 years ago
|
||
Comment on attachment 8452192 [details] [diff] [review] Proposed patch for improving spatial navigation Review of attachment 8452192 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/modules/tests/mochitest/test_spatial_navigation.html @@ +43,5 @@ > "Spatial navigation up key is not handled correctly."); > > center.focus(); > synthesizeKey("VK_DOWN", { }); > + is(document.activeElement.id, bottom.id, nit, trailing white space (here and futher on in the patch)
Attachment #8452192 -
Flags: review?(blassey.bugs) → review+
Assignee | ||
Comment 10•10 years ago
|
||
Update the final patch including the following changes: 1. Remove trailing spaces 2. Carry reviewer's name
Attachment #8452192 -
Attachment is obsolete: true
Attachment #8456020 -
Flags: review+
Assignee | ||
Comment 11•10 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=af7d8b904678
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 12•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/b6ca88f40b79
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/b6ca88f40b79
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 33
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•