← Back to team overview

touch-packages team mailing list archive

[Bug 1505731] Re: Memory usage and load time of new tab view on mobile is proportional to number of bookmarks

 

** Changed in: canonical-devices-system-image
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1505731

Title:
  Memory usage and load time of new tab view on mobile is proportional
  to number of bookmarks

Status in Canonical System Image:
  In Progress
Status in webbrowser-app package in Ubuntu:
  In Progress

Bug description:
  In the mobile version of the new tab view, when the "more" button is activated, a view of all the bookmark folders is revealed.
  Each bookmark folder is implemented as a Column  with a Repeater inside, creating one Loader item for each bookmark in the folder.
  Even if most of the Loaders remain inactive they still have a memory and initialization time cost, therefore the memory usage and initialization time of this view raises proportionally to the number of bookmarks in the database.

  If the entire view could use instead a single ListView with one
  section per bookmark, then these costs would be avoided since the
  ListView maintains only delegates for the items that are visible at
  the moment.

  This would likely require empty folders to be hidden, since the
  ListView can only create sections when there is at least one item in
  that section.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1505731/+subscriptions


References