ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #02590
[Bug 1122864] Re: [actions] Actions in Page's tools property cannot be re-used in other Pages
raring has seen the end of its life and is no longer receiving any
updates. Marking the raring task for this ticket as "Won't Fix".
** Changed in: ubuntu-ui-toolkit (Ubuntu Raring)
Status: New => 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/1122864
Title:
[actions] Actions in Page's tools property cannot be re-used in other
Pages
Status in Ubuntu UI Toolkit:
Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu:
Fix Released
Status in ubuntu-ui-toolkit source package in Raring:
Won't Fix
Bug description:
I was trying to define a page stack with several pages that had the
same actions in the toolbar. To avoid code duplication, I tried to
move the ActionList to a single Component, and load that in the tools
property of each page.
However, the tools property does not seem to accept components, which
means that in the case of pages sharing the same actions, all of those
would need to be defined (and duplicated) inline.
Here's a sample of what I was trying to do, with inline toolbar actions:
- http://bazaar.launchpad.net/~dpm/+junk/sdk-headertest/revision/2
And here's the test to load the actions as components, which fails with "Unable to assign QQmlComponent to ToolbarActions_QMLTYPE_6":
- http://bazaar.launchpad.net/~dpm/+junk/sdk-headertest/revision/3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1122864/+subscriptions