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)

ARM
iOS
defect
Not set
normal

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
tracking-fennec: ? → +
tracking-fxios: --- → +
Component: General → Home screen
Have not seen this since filing.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Scratch that, this still happens when you open a new tab from about:home
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Assignee: nobody → kbenhmida
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)
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.
Removing NI since sleroux gave some good hints :)
Flags: needinfo?(bnicholson)
Blocks: 1184233
Assignee: kbenhmida → sleroux
Status: REOPENED → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: