Closed
Bug 825176
Opened 13 years ago
Closed 13 years ago
[Tablet] The forward button is hidden when closing the Tab Drawer
Categories
(Firefox for Android Graveyard :: Theme and Visual Design, defect)
Tracking
(firefox18 unaffected, firefox19 unaffected, firefox20 verified, fennec20+)
VERIFIED
FIXED
Firefox 20
Tracking | Status | |
---|---|---|
firefox18 | --- | unaffected |
firefox19 | --- | unaffected |
firefox20 | --- | verified |
fennec | 20+ | --- |
People
(Reporter: AdrianT, Assigned: wesj)
Details
(Keywords: regression)
Attachments
(1 file)
6.72 KB,
patch
|
sriram
:
review+
|
Details | Diff | Splinter Review |
Nightly 20.0a1 2012-12-27
Asus EEE Transformer TF101 (Android 4.0.3)
Steps to reproduce:
1) Open 3 different pages in the same tab a a new one in a second tab
2) In the first tab go back to the second page so you have both the back and forward buttons displayed
3) Close the Tabs Drawer
Expected results:
The Tab Drawer is closed and the URL bar controls are not affected
Actual results:
The Forward button is hidden and a white background "leaks" in the Tab Count indicator area. The forward button does not reappear unless the user moves to a different tab and back and the Tab Drawer is opened.
Note:
This is probably caused buy the new Tab Drawer UI
Updated•13 years ago
|
Assignee: nobody → sriram
status-firefox19:
--- → unaffected
Component: General → Theme and Visual Design
Comment 1•13 years ago
|
||
Wes was working on hiding the forward button.
Assignee | ||
Comment 2•13 years ago
|
||
I think something is missing from the steps to reproduce? The tabs drawer isn't open when I go to step 3.
I can open two tabs, one with forward hidden and one with it showing. When I switch between them everything updates correctly for me, so I must be missing something.
Assignee | ||
Comment 3•13 years ago
|
||
Oh wait. I'm on a Nexus 7. (Charing my 10" tablet). I'll try there in a bit.
Assignee | ||
Comment 4•13 years ago
|
||
Ahh. I can reproduce this now.
Assignee | ||
Comment 5•13 years ago
|
||
The tabs animation adjusts the translation of the forward button. So does the hiding animation. We can either make them aware of each other (which is a pretty simple patch that will fall apart next time we do this I assume), or adjust the real margin of the forward button in its transition, which is what I'm doing here.
Assignee: sriram → wjohnston
Attachment #696440 -
Flags: review?(lucasr.at.mozilla)
Assignee | ||
Comment 6•13 years ago
|
||
Comment on attachment 696440 [details] [diff] [review]
Patch v1
Since lucas is on vacation, moving review.
Attachment #696440 -
Flags: review?(lucasr.at.mozilla) → review?(sriram)
Comment 7•13 years ago
|
||
Comment on attachment 696440 [details] [diff] [review]
Patch v1
Review of attachment 696440 [details] [diff] [review]:
-----------------------------------------------------------------
This looks good to me.
::: mobile/android/base/BrowserToolbar.java
@@ +1041,5 @@
> }
> +
> + ViewGroup.MarginLayoutParams layoutParams =
> + (ViewGroup.MarginLayoutParams)mForward.getLayoutParams();
> + layoutParams.leftMargin = mDefaultForwardMargin + (mForward.isEnabled() ? mForward.getWidth()/2 : 0);
"width" can be used here as it is final.
@@ +1059,3 @@
> anim.attach(mForward,
> PropertyAnimator.Property.TRANSLATION_X,
> + -1*width);
"-width" would do.
Attachment #696440 -
Flags: review?(sriram) → review+
Assignee | ||
Comment 8•13 years ago
|
||
Backed out for Android startup crashes on advice of others.
http://hg.mozilla.org/integration/mozilla-inbound/rev/f0481ac71e08
Assignee | ||
Comment 10•13 years ago
|
||
Whoops. Moved the dimens to the global layout/dimens.xml file instead. It will be ignored on other form factors.
https://hg.mozilla.org/integration/mozilla-inbound/rev/83b7d05f5928
Updated•13 years ago
|
tracking-fennec: ? → 20+
Comment 11•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
Updated•13 years ago
|
Reporter | ||
Comment 12•13 years ago
|
||
Issue is no longer reproducible on Aurora 20.0a2 2013-01-10 or Nightly 21.0a1 2013-01-10 on the Asus EEE Transformers TF101 (Android 4.0.3). Marking the issue as verified
Status: RESOLVED → VERIFIED
Updated•5 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
•