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)

All
Android
defect
Not set
normal

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)

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.
Version: Firefox 20 → Trunk
Keywords: regression
Summary: Arrowing down to content from BrowserToolBar does not work → Regression: Arrowing down to content from BrowserToolBar does not work
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 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 ?
(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 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+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 23
Verified fixed in Firefox 23.0a1 2013-04-03.
Status: RESOLVED → VERIFIED
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?
Attachment #731400 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: