Closed
Bug 2089622
Opened 29 days ago
Closed 8 days ago
Select an existing Homepage tab on cold-start and browser mode toggling
Categories
(Firefox for Android :: Homepage, task, P3)
Tracking
()
RESOLVED
FIXED
163 Branch
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: gl, Assigned: gl)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid] [group5])
Attachments
(1 external file)
With Homepage as a New Tab enabled, Fenix creates a new Homepage tab on every cold start with "open on homepage", and every time the browsing mode is toggled from the homepage. Over time this leaves many duplicate Homepage tabs in the tabs tray.
Instead, an existing Homepage tab should be reused where possible, and a new one created only when there is none.
Cold start (opening on the homepage):
- Wait for the session restore to complete.
- If the restored selected tab is a Homepage tab in the current browsing mode, keep it.
- Otherwise, add a new Homepage tab.
- If the current browsing mode has no tabs, leave it to HomepageTabBinding, which already adds the Homepage tab in that case.
Toggling the browsing mode from the homepage:
- Select an existing Homepage tab in the new browsing mode: the selected tab if it is one, otherwise the most recently accessed one.
- Otherwise, add a new Homepage tab.
| Assignee | ||
Updated•29 days ago
|
Blocks: homepage-as-new-tab
| Assignee | ||
Updated•29 days ago
|
Whiteboard: [fxdroid] [group5]
Updated•29 days ago
|
| Assignee | ||
Updated•28 days ago
|
Assignee: nobody → gl
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•10 days ago
|
||
- Toggling the browsing mode selects an existing Homepage tab in that mode, and only adds a new one when there is none
- Cold start waits for the session restore and keeps the restored selected tab when it is a Homepage tab
- HomepageTabBinding keeps adding the Homepage tab when the current browsing mode has no tabs after restore
Updated•10 days ago
|
Attachment #9688944 -
Attachment description: Bug 2089622 - Select an existing Homepage tab on cold start and browsing mode toggling. → Bug 2089622 - Select an existing Homepage tab on cold start and browsing mode toggling
Pushed by gluong@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/908d25a3d165
https://hg.mozilla.org/integration/autoland/rev/e246c2b0d218
Select an existing Homepage tab on cold start and browsing mode toggling r=android-reviewers,boek
Comment 3•8 days ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 8 days ago
status-firefox163:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•