Closed Bug 1161626 Opened 9 years ago Closed 9 years ago

Don't show toolbar on first about:home load

Categories

(Firefox for iOS :: Browser, defect)

All
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fennec + ---

People

(Reporter: bnicholson, Assigned: fluffyemily)

Details

Attachments

(1 file)

47 bytes, text/x-github-pull-request
st3fan
: review+
Details | Review
(From https://bugzilla.mozilla.org/show_bug.cgi?id=1153652#c2)
> According to Darrin, we should not show the toolbar at all when we've opened
> a new tab with about:home. But if we come back to it later (by clicking
> back), we do want to show the toolbar so we can go forward again.
tracking-fennec: ? → +
This involves some crazy state that I'd like to improve. We have this boolean homePanelIsInline flag that we set in some cases:

https://github.com/mozilla/firefox-ios/blob/master/Client/Frontend/Browser/BrowserViewController.swift#L337

It controls the layout of the "home" panel set of pages. i.e. are they shown above the bottom toolbar or over the top of it. When hitting "back" to return to about:home, I think we want to show the footer. Otherwise, it should be hidden.

TBH, just glancing at this code, I don't actually see that flag set anymore. Amazing ideas for how to do this better would be welcome.
Assignee: nobody → etoop
Attached file Pull request
Attachment #8614010 - Flags: review?(sarentz)
Comment on attachment 8614010 [details] [review]
Pull request

LGTM
Attachment #8614010 - Flags: review?(sarentz) → review+
Status: NEW → RESOLVED
Closed: 9 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: