There are two problems:
1) the component the APL creates the default metrics is called in parallel by 
two changes: body.onChildrenChanged is processed in parallel with 
d.onDefaultColumnWidthChanged, both call the object creation. This can be 
filtered out, as done in the attached branch.

2) variant type properties are causing trouble when a string value is
added. The property change signal is triggered twice, which - in case of
the primaryPageSource - causes the primary page to be loaded twice.
Changing the property type to string makes APL to work again. With the
previous change applied too.

** Branch linked: lp:~zsombi/ubuntu-ui-toolkit/fixAplHickupQt56

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

Title:
  UITK gallery: can't open subpages on Qt 5.6 because of TypeError

Status in ubuntu-ui-toolkit package in Ubuntu:
  In Progress

Bug description:
  On Qt 5.6 I can't seem to be able to open subpages in UITK Gallery
  (installed from Store). In logs I have:

  qml: sourcePage must be added to the view to add new page.

  More information about Qt 5.6 at
  https://wiki.ubuntu.com/Touch/QtTesting

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1585996/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to