ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #06391
[Bug 1362257] Re: Tabs default behaviour is synchronous, should be async
The Tabs component is being deprecated, but the new AdaptivePageLayout
supports asynchronous loading.
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Status: Triaged => Won't Fix
--
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/1362257
Title:
Tabs default behaviour is synchronous, should be async
Status in Ubuntu UI Toolkit:
Triaged
Status in ubuntu-ui-toolkit package in Ubuntu:
Won't Fix
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