Replace the current static page managing by object incubator

Bug #1552811 reported by Gustavo Pichorim Boiko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
In Progress
Medium
Bill Filler
messaging-app (Ubuntu)
In Progress
Medium
Gustavo Pichorim Boiko

Bug Description

Depending on the contents of the page, its asynchronous creation might take a really long time because of the internal behavior (or bug?) of QtQuick.
Loading pages synchronously fixes the problem, but the way it is implemented in messaging-app, there is a risk of leaking memory due to pages not being deleted properly when switching views.

There is another way to workaround this QtQuick limitation which is to force the page creation to finish before returning to the event loop, in the AdaptivePageLayout context, it would look like this:

var incubator = layout.addPageToNextColumn(originalPage, newPage, properties)
incubator.forceCompletion()

In order for this to be fixed bug #1544745 in AdaptivePageLayout first needs to be fixed.

Related branches

Changed in messaging-app (Ubuntu):
importance: Undecided → Medium
assignee: nobody → Gustavo Pichorim Boiko (boiko)
Bill Filler (bfiller)
Changed in canonical-devices-system-image:
assignee: nobody → Bill Filler (bfiller)
importance: Undecided → Medium
description: updated
Changed in canonical-devices-system-image:
status: New → In Progress
Changed in messaging-app (Ubuntu):
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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