2013-06-19 18:55:42 |
Nekhelesh Ramananthan |
bug |
|
|
added bug |
2013-06-19 19:28:53 |
Nekhelesh Ramananthan |
description |
With the change API change to use ToolbarButton and ToolbarItems to manage a toolbar's buttons, actions etc, It is not possible to hide the toolbar. For instance here is code sample which has a a simple toolbarButton. OnTriggering it should hide the toolbar. However it does nothing at the moment.
This is a regression since bzr 550.
tools: ToolbarItems {
id: toolbarClock
ToolbarButton {
id: addCity
action: Action {
iconSource: Qt.resolvedUrl("../images/add_icon.png")
text: i18n.tr("Add City")
onTriggered: {
clockPage.state = "ADDCITY";
toolbarClock.opened = false;
}
}
}
} |
With the change recent Toolbar API change (rev 550) to use ToolbarButton and ToolbarItems to manage a toolbar's buttons, actions etc, it is not possible to hide the toolbar. For instance here is a code sample which has a simple toolbarButton. OnTriggering it should hide the toolbar. However it does nothing at the moment.
This is a regression since bzr 550.
tools: ToolbarItems {
id: toolbarClock
ToolbarButton {
id: addCity
action: Action {
iconSource: Qt.resolvedUrl("../images/add_icon.png")
text: i18n.tr("Add City")
onTriggered: {
clockPage.state = "ADDCITY";
toolbarClock.opened = false;
}
}
}
} |
|
2013-06-20 00:21:01 |
Nekhelesh Ramananthan |
summary |
Unable to hide toolbar buttons with recent API change |
Unable to hide toolbar with recent toolbar API change |
|
2013-07-03 18:41:13 |
Florian Boucault |
ubuntu-ui-toolkit: assignee |
|
Tim Peeters (tpeeters) |
|
2013-07-03 18:41:17 |
Florian Boucault |
ubuntu-ui-toolkit: importance |
Undecided |
High |
|
2013-07-15 11:49:52 |
Tim Peeters |
ubuntu-ui-toolkit: status |
New |
In Progress |
|
2013-07-15 12:39:26 |
Launchpad Janitor |
branch linked |
|
lp:~tpeeters/ubuntu-ui-toolkit/toolbar-hide |
|
2013-07-15 16:07:32 |
Launchpad Janitor |
branch linked |
|
lp:~tpeeters/ubuntu-ui-toolkit/toolbarActions-hide |
|
2013-07-16 12:38:32 |
PS Jenkins bot |
ubuntu-ui-toolkit: status |
In Progress |
Fix Committed |
|
2013-07-18 11:38:06 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/saucy-proposed/ubuntu-ui-toolkit |
|
2013-07-18 11:47:15 |
Launchpad Janitor |
ubuntu-ui-toolkit (Ubuntu): status |
New |
Fix Released |
|
2013-07-24 09:33:06 |
Tim Peeters |
ubuntu-ui-toolkit: status |
Fix Committed |
Fix Released |
|