Closed
Bug 1171463
Opened 9 years ago
Closed 9 years ago
Regression: grey area shown where bottom toolbar used to be on about:home
Categories
(Firefox for iOS :: Home screen, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
fxios | + | --- |
People
(Reporter: aaronmt, Assigned: sleroux)
References
Details
(Keywords: regression, reproducible)
Attachments
(1 file)
Open a new tab, see grey area at bottom where the toolbar used to be
Updated•9 years ago
|
Reporter | ||
Comment 1•9 years ago
|
||
Have not seen this since filing.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 2•9 years ago
|
||
Scratch that, this still happens when you open a new tab from about:home
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Updated•9 years ago
|
Assignee: nobody → kbenhmida
Comment 3•9 years ago
|
||
This is not quiet working yet.
I tried a few approaches, but none of them seemed to give the expected result:
- Creating an overlay view on top of the footer and showing it during the animation only (in the current commit)
- Removing (from the superview) / hiding the footer during the transition
- Removing the footer subviews during the transition
From what I understand, the grey area is the footer, and it shouldn't be displayed during the transition to a tab from the tabs tray.
To remove/hide views during the transition I used the transitionablePreShow and transitionableWillComplete delegate methods in BrowserViewController.
Correct me if I'm wrong, and if you're thinking about another approach please share. Thanks.
tracking-fennec: + → ---
Flags: needinfo?(bnicholson)
Assignee | ||
Comment 4•9 years ago
|
||
Hey Karim,
It looks like the problem is the TabTrayController is making the false assumption in making room for the footer to fade in and the BVC is blindly animating the footer in without knowing what it's about to show. I propose that:
1. In the BVC's transitionWillShow, run a check on the tabManager.selectedTab's URL to see if it's a home URL. If it is, ignore resetting the transform.
2. In the TabTrayController's showFullscreen method, factor in the fact we're showing an about:home screen into the frame calculation so we don't leave room for the toolbar if not needed. There's already a flag for this but it's only taking into consideration the size class since we don't want to show the toolbars for landscape/iPad animations.
Let me know if that helps.
Comment 5•9 years ago
|
||
Removing NI since sleroux gave some good hints :)
Flags: needinfo?(bnicholson)
Assignee | ||
Updated•9 years ago
|
Assignee: kbenhmida → sleroux
Assignee | ||
Updated•9 years ago
|
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 6•9 years ago
|
||
Resolved as part of https://bugzilla.mozilla.org/show_bug.cgi?id=1184233
Status: ASSIGNED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•