Merge lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/shortcuts into lp:ubuntu-ui-toolkit/staging
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Zsombor Egri on 2015-07-07 | ||||
| Approved revision: | 1542 | ||||
| Merged at revision: | 1552 | ||||
| Proposed branch: | lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/shortcuts | ||||
| Merge into: | lp:ubuntu-ui-toolkit/staging | ||||
| Diff against target: |
280 lines (+176/-3) 6 files modified
components.api (+2/-1) examples/ubuntu-ui-toolkit-gallery/Buttons.qml (+8/-2) modules/Ubuntu/Components/plugin/plugin.cpp (+1/-0) modules/Ubuntu/Components/plugin/ucaction.cpp (+66/-0) modules/Ubuntu/Components/plugin/ucaction.h (+7/-0) tests/unit_x11/tst_components/tst_shortcuts.qml (+92/-0) |
||||
| To merge this branch: | bzr merge lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/shortcuts | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Approve on 2015-07-07 | |
| Zsombor Egri (community) | 2015-06-19 | Approve on 2015-07-07 | |
|
Review via email:
|
|||
Commit Message
Implement Action.shortcut property
- 1538. By Christian Dywan on 2015-06-22
-
Fix doc comment for UCAction::shortcut
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1538
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1539. By Christian Dywan on 2015-07-03
-
More explicit type check and multi modifier test case
| Christian Dywan (kalikiana) wrote : | # |
> if object is expected to be a QQuickItem,
> you should cast to it and that has a window()
> that you can use to get the window context...?
No. The action itself is in fact a QObject. We're walking up the parents to find a window.
> Shouldn't we also check whether the action is enabled?
No need, trigger() has a check already.
> What about testing also Alt+Ctrl, Shift+Ctrl and Alt+Shift+Ctrl?
> Or should we just assume that Qt shortcut system works with those?
Basically yeah, I don't think we want to duplicate their tests since we don't add any functionality. But I added another one with Atl+Shift+Ctrl just to be sure we'll know if anything obvious breaks in a Qt upgrade.
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1539
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Zsombor Egri (zsombi) wrote : | # |
To summarise what we talked on Mumble:
- actions to be grouped in ActionContext
- Action activation to be bound to ActionContext.
- text input action context activation to be bound with activeFocus
- Page active to drive ActionContext.
- 1540. By Christian Dywan on 2015-07-07
-
New shortcut property needs to go on revision 3
- 1541. By Christian Dywan on 2015-07-07
-
Register UCAction revision 1 to 1.3 and shortcut to 1
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1540
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1541
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1542. By Christian Dywan on 2015-07-07
-
Update components.api

FAILED: Continuous integration, rev:1537 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- ci/1925/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 3259/console jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-amd64- ci/653/ console jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-armhf- ci/655/ console jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- vivid-i386- ci/652/ console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 3257/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/ubuntu- sdk-team- ubuntu- ui-toolkit- staging- ci/1925/ rebuild
http://