Closed
Bug 1211412
Opened 10 years ago
Closed 10 years ago
Home panel tabs are misaligned on tablets.
Categories
(Firefox for Android Graveyard :: Awesomescreen, defect)
Tracking
(firefox43 fixed, firefox44 verified, fennec44+)
VERIFIED
FIXED
Firefox 44
People
(Reporter: sebastian, Assigned: liuche)
References
Details
Attachments
(3 files)
|
73.86 KB,
image/png
|
Details | |
|
71.27 KB,
image/png
|
Details | |
|
40 bytes,
text/x-review-board-request
|
sebastian
:
review+
lizzard
:
approval-mozilla-aurora+
|
Details |
The home panel tabs (-> TabMenuStrip) are misaligned on the Nexus 9. See attached screenshots.
| Reporter | ||
Comment 1•10 years ago
|
||
| Reporter | ||
Comment 2•10 years ago
|
||
I assume that's a regression from bug 1185002?
Blocks: 1185002
Flags: needinfo?(liuche)
Updated•10 years ago
|
tracking-fennec: --- → ?
| Assignee | ||
Comment 3•10 years ago
|
||
Bug 1211412 - Home panel tabs are misaligned on tablets. r=sebastian
Attachment #8669840 -
Flags: review?(s.kaspari)
| Assignee | ||
Comment 4•10 years ago
|
||
This patch adds another attribute for whether the titles should wrap to the content or fill the titlebar. I'll need someone to test it, however - Sebastian, if you have the time, would you do that? I've uploaded an apk here, if it's easier:
http://people.mozilla.org/~liuche/bug-1211412/1-fillTitlebar.apk
Assignee: nobody → liuche
Flags: needinfo?(liuche) → needinfo?(s.kaspari)
| Reporter | ||
Updated•10 years ago
|
Attachment #8669840 -
Flags: review?(s.kaspari) → review+
| Reporter | ||
Comment 5•10 years ago
|
||
Comment on attachment 8669840 [details]
MozReview Request: Bug 1211412 - Home panel tabs are misaligned on tablets. r=sebastian
https://reviewboard.mozilla.org/r/21265/#review19223
Awesome! Introducing a new attribute is such a smart solution. \o/
::: mobile/android/base/home/TabMenuStripLayout.java:76
(Diff revision 1)
> + button.setLayoutParams(new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT, 1.0f));
Shouldn't we set width to 0(dp) like we did in the XML?
| Reporter | ||
Comment 6•10 years ago
|
||
Tested it on the N9 and everything looks great again. :)
Flags: needinfo?(s.kaspari)
| Assignee | ||
Comment 7•10 years ago
|
||
> ::: mobile/android/base/home/TabMenuStripLayout.java:76
> (Diff revision 1)
> > + button.setLayoutParams(new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT, 1.0f));
>
> Shouldn't we set width to 0(dp) like we did in the XML?
Yeah...unfortunately LayoutParams are params instead of dimensions/values and you can't mix the two.
| Reporter | ||
Comment 9•10 years ago
|
||
(In reply to Chenxia Liu [:liuche] from comment #7)
> Yeah...unfortunately LayoutParams are params instead of dimensions/values
> and you can't mix the two.
Hu? But the constructor of LayoutParams accepts constants (WRAP_CONTENT/MATCH_PARENT) as well as fixed sizes?
Comment 10•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
Comment 12•10 years ago
|
||
Verified as fixed on latest Nightly build (44.0a1 / 2015-10-08) on Nexus 9 with Android 5.1.1
Updated•10 years ago
|
tracking-fennec: ? → 44+
| Assignee | ||
Updated•10 years ago
|
| Assignee | ||
Comment 13•10 years ago
|
||
Comment on attachment 8669840 [details]
MozReview Request: Bug 1211412 - Home panel tabs are misaligned on tablets. r=sebastian
Approval Request Comment
[Feature/regressing bug #]: Bug 1185002
[User impact if declined]: Titlebar on tablets has too much spacing
[Describe test coverage new/current, TreeHerder]: baked on nightly for a week, green Aurora try run https://treeherder.mozilla.org/#/jobs?repo=try&revision=bf090ef5130f
[Risks and why]: low, baked on Nightly
[String/UUID change made/needed]: none
Attachment #8669840 -
Flags: approval-mozilla-aurora?
Comment 14•10 years ago
|
||
Looks like we need this as part of the work for bug 1185002 which we're uplifting to aurora.
status-firefox42:
--- → ?
status-firefox43:
--- → affected
Comment 15•10 years ago
|
||
Just realized this doesn't affect 42.
This would be good to verify on affected tablets.
status-firefox42:
? → ---
Flags: qe-verify+
Comment 16•10 years ago
|
||
Comment on attachment 8669840 [details]
MozReview Request: Bug 1211412 - Home panel tabs are misaligned on tablets. r=sebastian
UI tweak, tested ok on nightly, ok to uplift to aurora.
Attachment #8669840 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 17•10 years ago
|
||
Updated•8 years ago
|
Status: RESOLVED → VERIFIED
Flags: qe-verify+
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
•