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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1552811 Title: Replace the current static page managing by object incubator To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/messaging-app/+bug/1552811/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs