Toolbar documentation suggests any widget can go in tools, which is wrong
Bug #1389711 reported by
Stuart Langridge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
http://
Changed in ubuntu-ui-toolkit: | |
status: | New → Won't Fix |
To post a comment you must log in.
ToolbarItems can contain any Items, which will go in the toolbar. But with the new header, the toolbar (and ToolbarItems) are deprecated and you should use the new API: http:// developer. ubuntu. com/api/ qml/sdk- 14.10/Ubuntu. Components. PageHeadConfigu ration/
Whens switching on the new header (MainView. useDeprecatedTo olbar: false), the ToolbarButtons of the ToolbarItems are indeed automatically put in the header, but this is only to provide some temporary backwards compatibility to use old code with the new header. Apps should switch to using Page.head instead, which also gives them access to new functionality.
What needs to happen here is that ToolbarItems must be marked as deprecated.