anthonycr / Lightning-Browser

A lightweight Android browser with modern navigation
http://acrdevelopment.org
Mozilla Public License 2.0
2.19k stars 796 forks source link

Don't quit entire app after last tab is closed #278

Open ghost opened 9 years ago

ghost commented 9 years ago

I'd prefer to keep the app open and to have it bring me to the homepage after closing the last open tab.

I'm using the latest Lightning Browser+. Moto G 2014 & CM12.1.

Buntbart commented 8 years ago

yes, please! I'd prefer this too. Leave the current behaviour for the command that comes by long-pressing the back-button, call it "close all tabs and quit" and make another one called "close all tabs and open homepage"

alt-grr commented 8 years ago

In many browsers, closing last tab closes entire app. And I prefer this behaviour. But if I remember correctly, e.g. in Firefox you can actually configure this and choose between both behaviours.

Buntbart commented 8 years ago

Sorry, I missed the point a little bit. As I said I'd prefer it the same way like ghost, but for me this is not so important.

I'm using Lighting mainly because of the privacy-features. I find it very convenient to delete cookies, cache, history etc just by quitting the app. Using the left slider to close tabs doesn't delete anything, but long-press on back-button does. And This menu could have more functions, everyone of them clearing private data when closing tabs, like "close tab" "close tab and open new one" "close all other tabs" "close all tabs and open new one" "close all tabs and quit Lightning"

alt-grr commented 8 years ago

I would say that "less is more". Choosing between 5 close options is too much from UX point of view.

everyone of them clearing private data

You can already set many privacy options in Settings: "clear cookies/history/cache on exit", "do not restore tabs on restart", etc. You can set then one time, and don't have to worry about then every single time, when you use any other menus.

Buntbart commented 8 years ago

Yes, that's true.

But for the most people these settings are not respected because they don't "exit" the exact right way. Most people leave the app via the Home-button of the phone or they close tabs via the left slider and this doesn't fullfill the set actions. You can even reboot the phone and still have access to the history as long as long as you don't "exit" via long-press on "Back" and press "close all tabs".

This is not very intuitive if you only want your last cookies/history/cache to be deleted before you open a new tab.