ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #07200
[Bug 1588172] Re: qml/Ubuntu/Components/1.3/AdaptivePageLayout.qml:828: TypeError: Cannot read property 'header' of null
** Changed in: canonical-devices-system-image
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, 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 Canonical System Image:
Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu:
Fix Released
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/canonical-devices-system-image/+bug/1588172/+subscriptions
References