AdaptivePageLayout breaks on loading heavy pages

Bug #1647417 reported by Michael Zanetti
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubuntu-ui-toolkit (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When the pages to be loaded by AdaptivePageLayout are heavy (say, require a second to build up), the APL, because of his async nature by default, still allows user interaction while creating the page.

If during that time the user triggers another action that would push something to the APL, it will break in two ways:
* the first page will leak in memory
* the second page is visible on the apl, but the back button in the header is missing

setting APL to asynchronous: false is a workaround for this as the user cannot trigger any more actions while the page is building up.

If you need an example to reproduce this, install "Guitar Tools" from the store, edit its sources to remove the "asynchronous: false" from the APL in there and launch the composer tool and quickly another entry from the menu. The composer tool is the one that takes long to load, any other entry can be used to trigger the bug.

I have also seen reports from users in other apps that the back button in the header is missing sometimes. I am confident they are running into the same issue.

Tags: unity8
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Confirmed
Tim Peeters (tpeeters)
tags: added: unity8
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.