[toolbar] Toolbar using buttons behaves different for the back button
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Fix Released
|
High
|
Tim Peeters | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Raring |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When using buttons, the back button can use the usual Actions "onTriggered". But for other buttons (like the add button here) the "onTriggered" is not called, and one has to use the Buttons "onClicked".
property ToolbarActions toolActions: ToolbarActions {
Action {
}
}
}
back: Action {
}
}
}
}
Related branches
- Zsombor Egri: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 270 lines (+94/-32)6 files modifiedcomponents.api (+1/-0)
modules/Ubuntu/Components/AbstractButton.qml (+20/-7)
modules/Ubuntu/Components/Button.qml (+20/-9)
modules/Ubuntu/Components/Toolbar.qml (+15/-16)
tests/unit/tst_components/tst_abstractbutton.qml (+16/-0)
tests/unit/tst_components/tst_button.qml (+22/-0)
Changed in ubuntu-ui-toolkit: | |
importance: | Undecided → High |
Changed in ubuntu-ui-toolkit: | |
status: | New → Confirmed |
summary: |
- Toolbar using buttons behaves different for the back button + [toolbar] Toolbar using buttons behaves different for the back button |
Changed in ubuntu-ui-toolkit: | |
status: | Confirmed → In Progress |
Changed in ubuntu-ui-toolkit: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-ui-toolkit (Ubuntu Raring): | |
status: | New → Fix Released |
Fix committed into lp:ubuntu-ui-toolkit at revision 518, scheduled for release in ubuntu-ui-toolkit, milestone Unknown