Project

General

Profile

Actions

Bug #421

closed

Update the back button to better work with tabs.

Added by Soren Stoutner almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Critical Bug
Start date:
04/29/2019
Due date:
% Done:

0%

Estimated time:

Description

Currently, if a tab has no page to go back to, it loads a blank page. This loading is actually a forward motion, so the current page becomes the new back. Hitting back again causes the previous page to load. A user can cycle between them ad infinitum by continuing to hit back.

This was a cludgy result of trying to fix behavior when implementing tabs. Previously, if the WebView in a tab could not go back, it would kick the command up to the system, which would reopen the calling intent (either another app or the desktop). This felt very odd if hitting back on a tab that one didn't realize was already at the beginning because one would be thrown out of Privacy Browser even if other tabs were open.

I think that the preferred behavior should be that, if the the current tab has reached the first entry and there are more than one tabs, Privacy Browser should close the current tab when back is pressed. If there is only one tab, and back is pressed when reaching the beginning of the list, then the command should be passed onto the system.

Actions

Also available in: Atom PDF