Public bug reported:

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, there is one but in AdaptivePageLayout
which needs to be fixed (#1544745).

** Affects: messaging-app (Ubuntu)
     Importance: Medium
     Assignee: Gustavo Pichorim Boiko (boiko)
         Status: New

** Changed in: messaging-app (Ubuntu)
   Importance: Undecided => Medium

** Changed in: messaging-app (Ubuntu)
     Assignee: (unassigned) => Gustavo Pichorim Boiko (boiko)

** Branch linked: lp:~boiko/messaging-app/fix_thread_removing

-- 
You received this bug notification because you are a member of Ubuntu
Apps bug tracking, which is subscribed to messaging-app in Ubuntu.
https://bugs.launchpad.net/bugs/1552811

Title:
  Replace the current static page managing by object incubator

Status in messaging-app package in Ubuntu:
  New

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, there is one but in AdaptivePageLayout
  which needs to be fixed (#1544745).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/messaging-app/+bug/1552811/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntu-apps-bugs
Post to     : ubuntu-apps-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-apps-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to