plateaukao / einkbro

A small, fast web browser based on Android WebView. It's tailored for E-Ink devices but also works great on normal android devices.
https://einkbro.github.io/overview.html
Other
1.21k stars 86 forks source link

Going "back" on a tab that was opened by "New tab" returns a "No previous page!" #212

Closed ziggyb1013 closed 1 year ago

ziggyb1013 commented 1 year ago

Hello, I sort of understand the logic of this. If you go "back" on a page with no previous page, the "No previous page!" message makes sense.

However, my use case as been:

  1. Open a new tab from a link, "New Tab (foreground)"
  2. Finish reading the new tab.
  3. "Back" to return to the first tab

Before it 9.20.0, eInkBro would, close the "new tab" and return to the previous tab and very seamless. I also do this on Safari in iOS and this behavior works the same way.

One of the reasons I did this, was that sometimes going to a link (from a news site or very large page), when you go "back" in the same tab, the page refreshes and you lose your place.

By opening a new tab, with the new link. The previous tab retains the page location and less likely to refresh while you're reading the new link.

Adding an option to not display, "No previous page!" and instead, close the tab and return to the previous tab would be great.

Thank you!

plateaukao commented 1 year ago

@ziggyb1013 Will add an option to disable it in next version. :)

ziggyb1013 commented 1 year ago

Thank you!

ziggyb1013 commented 1 year ago

Just installed 9.21.0 and the "old" behavior is back and it's glorious! Thank you!