Closed
Bug 888497
Opened 11 years ago
Closed 11 years ago
Fix focus order of browser toolbar
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 25
People
(Reporter: bnicholson, Assigned: bnicholson)
References
Details
Attachments
(1 file)
2.84 KB,
patch
|
sriram
:
review+
|
Details | Diff | Splinter Review |
I hate how we have to manually update the focus order for this to work correctly -- it's a fragile implementation that can (and did) break whenever we change these views.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #769206 -
Flags: review?(sriram)
Comment 2•11 years ago
|
||
Comment on attachment 769206 [details] [diff] [review]
Fix focus order of browser toolbar
Review of attachment 769206 [details] [diff] [review]:
-----------------------------------------------------------------
r+ with those changes.
::: mobile/android/base/BrowserToolbar.java
@@ +450,5 @@
> + mFocusOrder = Arrays.asList(mTabs, mBack, mForward, mLayout,
> + mSiteSecurity, mReader, mStop, mActionItemBar, mMenu);
> + } else {
> + mFocusOrder = Arrays.asList(mLayout, mSiteSecurity, mReader, mStop,
> + mMenu, mTabs);
I think the order should be "mTabs, mMenu".
@@ +882,4 @@
> private void updateFocusOrder() {
> View prevView = null;
>
> + boolean needsNewFocus = false;
Please add a comment on what this boolean is tracking.
Attachment #769206 -
Flags: review?(sriram) → review+
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Comment 4•11 years ago
|
||
Bad merge, backed out for bustage: https://hg.mozilla.org/integration/mozilla-inbound/rev/f1a49caa21d9
Assignee | ||
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 25
Comment 7•11 years ago
|
||
Unfortunately, this fix introduces a crash.
Please refer to bug 889094 for details.
Flags: needinfo?(bnicholson)
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(bnicholson)
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
•