Public bug reported: Using the AdaptivePageLayout in something other than a MainView causes it to look for a header that isn't there even if all Page's use their own header. Note: Functionally this works fine.
Item { AdaptivePageLayout { anchors.fill: parent primaryPage: Page { header: PageHeader { } } } } qml/Ubuntu/Components/1.3/AdaptivePageLayout.qml:828: TypeError: Cannot read property 'header' of null qml/Ubuntu/Components/1.3/AdaptivePageLayout.qml:827: TypeError: Cannot read property 'header' of null qml/Ubuntu/Components/1.3/AdaptivePageLayout.qml:826: TypeError: Cannot read property 'header' of null This occurs with a hypothetical MainView alternative (bug 1587431) as well as a custom root component tailored to the app. ** Affects: ubuntu-ui-toolkit (Ubuntu) Importance: Undecided Assignee: Tim Peeters (tpeeters) Status: New ** Changed in: ubuntu-ui-toolkit (Ubuntu) Assignee: (unassigned) => Tim Peeters (tpeeters) -- 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/1588172 Title: qml/Ubuntu/Components/1.3/AdaptivePageLayout.qml:828: TypeError: Cannot read property 'header' of null Status in ubuntu-ui-toolkit package in Ubuntu: New Bug description: Using the AdaptivePageLayout in something other than a MainView causes it to look for a header that isn't there even if all Page's use their own header. Note: Functionally this works fine. Item { AdaptivePageLayout { anchors.fill: parent primaryPage: Page { header: PageHeader { } } } } qml/Ubuntu/Components/1.3/AdaptivePageLayout.qml:828: TypeError: Cannot read property 'header' of null qml/Ubuntu/Components/1.3/AdaptivePageLayout.qml:827: TypeError: Cannot read property 'header' of null qml/Ubuntu/Components/1.3/AdaptivePageLayout.qml:826: TypeError: Cannot read property 'header' of null This occurs with a hypothetical MainView alternative (bug 1587431) as well as a custom root component tailored to the app. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1588172/+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