[browser] All restored tabs are loaded at startup

Bug #1358599 reported by Olivier Tilloy
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu UX
Fix Released
Medium
Unassigned
webbrowser-app
Fix Released
High
Olivier Tilloy
webbrowser-app (Ubuntu)
Fix Released
Undecided
Olivier Tilloy

Bug Description

When restoring a previous browsing session, a new tab is restored for each previously open tab, and a webview is instantly instantiated and loaded. With a large number of open tabs, this probably makes the startup time of the application longer, consumes more memory right away, and if on mobile data consumes more MBs too.

Only the webview for the first tab should be instantiated at first, other tabs should be empty placeholders which trigger the instantiation of the corresponding webview on demand.

This means we’re going to need to save and restore the title for each open tab (we’re currently saving and restoring only the current URL).

Tags: rtm14

Related branches

Olivier Tilloy (osomon)
Changed in webbrowser-app:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Olivier Tilloy (osomon)
tags: added: rtm14
Revision history for this message
Oliver Grawert (ogra) wrote :

currently there is also one location popup request per tab ... i wondered why i get multiple ones for a day every time i opened a fresh browser page ... until i noticed that over the day all external links i had clicked in any open webapps resulted in a tab being kept open in the background ... consuming resources (often with embedded videos etc)

i think it would be helpful if:

a) we had the number of open tabs somewhere visible in the top bar (i could imagine just having a number left or right of the burger menu, though indeed i'm no designer :) )

b) the location request would be shown only once for the app and not per-tab (i heard there is work going on to use the trust store which will fix this)

Olivier Tilloy (osomon)
Changed in webbrowser-app:
status: Triaged → In Progress
Revision history for this message
Olivier Tilloy (osomon) wrote :

Added an ubuntu-ux task to get design input on the request to have the number of open tabs visible somewhere in the UI.

Revision history for this message
Giorgio Venturi (giorgio-venturi-deactivatedaccount) wrote :

We are not planning to have the number of open tabs in the top bar, there is not enough real estate.
People in the future will be able to access the tabs by simply executing the bottom edge swipe.

Re: restoring sessions, I agree with Olivier - the best approach is to load the page only when the tab is tapped

Changed in ubuntu-ux:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Giorgio Venturi (giorgio-venturi)
status: Triaged → Fix Committed
Olivier Tilloy (osomon)
Changed in webbrowser-app (Ubuntu):
status: New → In Progress
assignee: nobody → Olivier Tilloy (osomon)
Olivier Tilloy (osomon)
Changed in webbrowser-app:
status: In Progress → Fix Released
Changed in webbrowser-app (Ubuntu):
status: In Progress → Fix Released
Changed in ubuntu-ux:
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
summary: - All restored tabs are loaded at startup
+ [browser] All restored tabs are loaded at startup
Changed in ubuntu-ux:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.