touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #36402
[Bug 1362257] Re: Tabs default behaviour is synchronous, should be async
** Changed in: ubuntu-ui-toolkit
Importance: High => Low
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Importance: High => Low
--
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/1362257
Title:
Tabs default behaviour is synchronous, should be async
Status in Ubuntu UI Toolkit:
Triaged
Status in “ubuntu-ui-toolkit” package in Ubuntu:
Triaged
Bug description:
Tabs are often created by developers the following way:
Tab {
title: i18n.tr("Simple page")
page: Page {
Label {
text: "A label"
}
}
}
instead of the lazy loading way that does not penalise app startup:
Tab {
id: tab
title: i18n.tr("Simple page")
page: Loader {
parent: tab
anchors {
left: parent.left
right: parent.right
bottom: parent.bottom
}
source: "MyCustomPage.qml"
active: tabs.selectedTab === tab
}
}
This leads to a lot of apps starting slowly. I think we should make
the default Tab behaviour to be asynchronous.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1362257/+subscriptions