ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #06938
[Bug 1588172] Re: qml/Ubuntu/Components/1.3/AdaptivePageLayout.qml:828: TypeError: Cannot read property 'header' of null
** Also affects: canonical-devices-system-image
Importance: Undecided
Status: New
** Changed in: canonical-devices-system-image
Status: New => Fix Committed
** Changed in: canonical-devices-system-image
Importance: Undecided => High
** Changed in: canonical-devices-system-image
Milestone: None => 13
--
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 Committed
Status in ubuntu-ui-toolkit package in Ubuntu:
Fix Committed
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