Closed
Bug 856252
Opened 12 years ago
Closed 12 years ago
Regression: Arrowing down to content from BrowserToolBar does not work
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox21 unaffected, firefox22+ fixed, firefox23 verified)
VERIFIED
FIXED
Firefox 23
Tracking | Status | |
---|---|---|
firefox21 | --- | unaffected |
firefox22 | + | fixed |
firefox23 | --- | verified |
People
(Reporter: eeejay, Assigned: eeejay)
References
Details
(Keywords: regression)
Attachments
(1 file)
2.75 KB,
patch
|
kats
:
review+
sriram
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Focus seems to be stuck in the toolbar. I think this is a regression from the dynamic toolbar patches. Having the LayerView top be above the BrowserToolBar bottom messes with Android's focus finding algorithm.
Assignee | ||
Updated•12 years ago
|
Version: Firefox 20 → Trunk
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #731400 -
Flags: review?(bugmail.mozilla)
Updated•12 years ago
|
Blocks: dynamic-toolbar
Keywords: regression
Summary: Arrowing down to content from BrowserToolBar does not work → Regression: Arrowing down to content from BrowserToolBar does not work
Comment 2•12 years ago
|
||
Comment on attachment 731400 [details] [diff] [review]
Explicitly set next focused view when arrowing down from BrowserToolBar
Review of attachment 731400 [details] [diff] [review]:
-----------------------------------------------------------------
Fine by me, but sriram should review this too.
Attachment #731400 -
Flags: review?(sriram)
Attachment #731400 -
Flags: review?(bugmail.mozilla)
Attachment #731400 -
Flags: review+
Comment 4•12 years ago
|
||
Comment on attachment 731400 [details] [diff] [review]
Explicitly set next focused view when arrowing down from BrowserToolBar
Do we needed to explicitly call each child.setNextFocusDownId in BrowserToolbar.setNextFocusDownId? Can't we loop over children or something? Do we need and @Override ?
Assignee | ||
Comment 5•12 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #4)
> Comment on attachment 731400 [details] [diff] [review]
> Explicitly set next focused view when arrowing down from BrowserToolBar
>
> Do we needed to explicitly call each child.setNextFocusDownId in
> BrowserToolbar.setNextFocusDownId?
You would think that setting the focus order on the container would be enough, but nope. You need to set it directly on focusable items.
> Can't we loop over children or something?
Well, recursively. Since the views may be nested. We could set any focusable ancestor. That might be worthwhile so that when widgets are added to the toolbar we don't need to remember to add it to this list? We have a similar problem with horizontal focus order. I think that the patch I introduced for that has the potential of rotting as more widgets are added.
> Do we need and @Override ?
BrowserToolBar is not a subclass of View, so no.
Comment 6•12 years ago
|
||
Comment on attachment 731400 [details] [diff] [review]
Explicitly set next focused view when arrowing down from BrowserToolBar
Review of attachment 731400 [details] [diff] [review]:
-----------------------------------------------------------------
Sounds good to me. Could you shorten "nextFocusDownId" parameter to "id" or "nextId"? That's a bit super long given that it's repeating in 10 statements. The method name says what the parameter is going to be. So, "id" sounds enough for the parameter name.
Attachment #731400 -
Flags: review?(sriram) → review+
Assignee | ||
Comment 7•12 years ago
|
||
Assignee: nobody → eitan
Comment 8•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 23
Comment 9•12 years ago
|
||
Verified fixed in Firefox 23.0a1 2013-04-03.
Comment 10•12 years ago
|
||
Comment on attachment 731400 [details] [diff] [review]
Explicitly set next focused view when arrowing down from BrowserToolBar
[Approval Request Comment]
Bug caused by (feature/regressing bug #): 716403
User impact if declined: Blind keyboard users on Gingerbread devices will no longer be able to reach web content from the awesome bar and thus not be able to browse web pages.
Testing completed (on m-c, etc.): Yes.
Risk to taking this patch (and alternatives if risky): No real alternatives, risk is minimal. This just sets a bunch of keyboard navigation attributes for controls.
String or IDL/UUID changes made by this patch:None.
Attachment #731400 -
Flags: approval-mozilla-aurora?
Updated•12 years ago
|
status-firefox21:
--- → unaffected
tracking-firefox22:
--- → +
Updated•12 years ago
|
Attachment #731400 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 11•12 years ago
|
||
Updated•4 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
•