Closed
Bug 1039738
Opened 9 years ago
Closed 9 years ago
Private tabs list is cut off for portait orientation
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox32 unaffected, firefox33 verified, fennec33+)
VERIFIED
FIXED
Firefox 33
Tracking | Status | |
---|---|---|
firefox32 | --- | unaffected |
firefox33 | --- | verified |
fennec | 33+ | --- |
People
(Reporter: bnicholson, Assigned: mcomella)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
4.31 KB,
patch
|
mcomella
:
review+
|
Details | Diff | Splinter Review |
Open two private tabs, then open the tabs tray: only one private tab is visible. It looks like the ListView height isn't filling the TabsTray as expected.
Reporter | ||
Updated•9 years ago
|
tracking-fennec: --- → ?
Assignee | ||
Comment 1•9 years ago
|
||
This is caused by bug 1021356 part 1, likely due to the change to a ScrollView.
Assignee: nobody → michael.l.comella
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8457516 -
Flags: review?(bnicholson)
Reporter | ||
Comment 3•9 years ago
|
||
Comment on attachment 8457516 [details] [diff] [review] Allowing scrolling in private tabs list Review of attachment 8457516 [details] [diff] [review]: ----------------------------------------------------------------- ::: mobile/android/base/resources/layout/private_tabs_panel.xml @@ +5,5 @@ > > <merge xmlns:android="http://schemas.android.com/apk/res/android" > xmlns:gecko="http://schemas.android.com/apk/res-auto"> > > + <ScrollView android:layout_width="match_parent" Why do we need a ScrollView at all? TwoWayView is already scrollable. @@ +45,5 @@ > > + </ScrollView> > + > + <!-- Note: scrolling in the TabsTray does not work > + unless it is laid out after the empty view. --> Why? Also, note that even with this bug, I *can* still scroll the tabs tray -- it's just not the right height. Since the regressing bug changed PrivateTabsPanel to extend ScrollView instead of FrameLayout, I would expect the fix here to be to add fillViewport="true" to the ScrollView. Does that not work? Still curious why a ScrollView is needed in the first place, though.
Reporter | ||
Comment 4•9 years ago
|
||
(In reply to Brian Nicholson (:bnicholson) from comment #3) > Why do we need a ScrollView at all? TwoWayView is already scrollable. Just to be clear, I'm talking about the TabsTray (which extends TwoWayView) in this layout file.
Reporter | ||
Comment 5•9 years ago
|
||
Comment on attachment 8457516 [details] [diff] [review] Allowing scrolling in private tabs list Review of attachment 8457516 [details] [diff] [review]: ----------------------------------------------------------------- I was more focused on bug 1021356 than this one -- the ScrollView comment above isn't relevant to your fix here since you're moving the TabsTray outside of it. I'm still curious about your note. Why does scrolling in the TabsTray not work unless it is laid out after the empty view?
Attachment #8457516 -
Flags: review?(bnicholson) → review+
Assignee | ||
Comment 6•9 years ago
|
||
(In reply to Brian Nicholson (:bnicholson) from comment #5) > I was more focused on bug 1021356 than this one -- the ScrollView comment > above isn't relevant to your fix here since you're moving the TabsTray > outside of it. I'm still curious about your note. Why does scrolling in the > TabsTray not work unless it is laid out after the empty view? I'm not sure. I imagine it has something to do with how the .setEmptyView and related code handle which view (i.e. the empty view and not-so-empty view) is displayed and thus how the click events are swallowed by each view. I'll add, "For an unknown reason..." to the comment.
Assignee | ||
Comment 7•9 years ago
|
||
Updated patch (and updated description, given comment 3's clarification.
Assignee | ||
Updated•9 years ago
|
Attachment #8457516 -
Attachment is obsolete: true
Assignee | ||
Comment 8•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/a794759a5272
Assignee | ||
Comment 9•9 years ago
|
||
Comment on attachment 8457663 [details] [diff] [review] Correct private tabs list appearance Move r+.
Attachment #8457663 -
Flags: review+
Comment 10•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a794759a5272
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 33
Updated•9 years ago
|
tracking-fennec: ? → 33+
Updated•9 years ago
|
Status: RESOLVED → VERIFIED
Updated•2 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
•