Closed Bug 1634276 Opened 5 years ago Closed 5 years ago

Close tab on back button/action when history is empty (default in most browsers)

Categories

(Firefox for Android Graveyard :: General, enhancement)

Firefox 68
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: tomyhayes, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0

Steps to reproduce:

I open a tab from a link I tapped from another app.
Firefox opens and show me the new tab.
When I'm done reading, I press the back button/action on my phone.

Firefox 68.7 on Android.

Actual results:

Firefox closes (hides), and I get back to the previous app that was open.
But when I open Firefox again, that tab is still there, in the tabs queue, piled with the others, and the only way to remove it, is to go to all tabs view, and delete it from there.
So, I end up having hundreds of open tabs in my phone.

Expected results:

When I trigger the back action. If there's a previous page loaded in that tab, go to it (default history behavior).
When history is empty (like when I open a new tab from a external link) and I trigger back action, I expect the tab to close.
This is the behavior for all other mobile browsers, and I think it should be the default, or at least, there should be a option to opt-in for this behavior.

Unfortunately this is not something we will implement on Firefox for Android (Fennec). I do however think that Firefox Preview (Fenix) behaves this way already. Give it a try, you can fin Firefox Preview on the Google Play Store.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.