ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #07059
[Bug 1616266] [NEW] AdaptivePageLayout gives "TypeError: Type error" and cannot create new component
Public bug reported:
Ubuntu Yakkety Yak (development branch)
qml-module-ubuntu-components 1.3.2060+16.10.20160814
I was using AdaptivePageLayout to build an app and everything was
working fine before the big yakkety updates recently. In running the
same code, I now see this in the terminal:
Gtk-Message: Failed to load module "overlay-scrollbar"
QQmlComponent: Cannot create new component instance before completing the previous
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/AdaptivePageLayout.qml:945: TypeError: Type error
And my AdaptivePageLayout no longer loads properly using the
primaryPageSource property. Maybe something in the new Qt is causing
this issue? Seems my system is also having trouble with the overlay-
scrollbar, but I'm not sure whether that's related.
To reproduce this, I created a new project in the Ubuntu SDK IDE with
the template "QtQuick App with QML UI (qmake)" and edited Main.qml to
use an AdaptivePageLayout by giving the Page object an id of
"primaryPage" and adding the following lines before the definition of
primaryPage*:
AdaptivePageLayout {
primaryPage: primaryPage
}
* full file here: https://paste.ubuntu.com/23083699/
** Affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Undecided
Status: New
--
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/1616266
Title:
AdaptivePageLayout gives "TypeError: Type error" and cannot create new
component
Status in ubuntu-ui-toolkit package in Ubuntu:
New
Bug description:
Ubuntu Yakkety Yak (development branch)
qml-module-ubuntu-components 1.3.2060+16.10.20160814
I was using AdaptivePageLayout to build an app and everything was
working fine before the big yakkety updates recently. In running the
same code, I now see this in the terminal:
Gtk-Message: Failed to load module "overlay-scrollbar"
QQmlComponent: Cannot create new component instance before completing the previous
file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/AdaptivePageLayout.qml:945: TypeError: Type error
And my AdaptivePageLayout no longer loads properly using the
primaryPageSource property. Maybe something in the new Qt is causing
this issue? Seems my system is also having trouble with the overlay-
scrollbar, but I'm not sure whether that's related.
To reproduce this, I created a new project in the Ubuntu SDK IDE with
the template "QtQuick App with QML UI (qmake)" and edited Main.qml to
use an AdaptivePageLayout by giving the Page object an id of
"primaryPage" and adding the following lines before the definition of
primaryPage*:
AdaptivePageLayout {
primaryPage: primaryPage
}
* full file here: https://paste.ubuntu.com/23083699/
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1616266/+subscriptions