Merge lp:~albaguirre/mir/dialogs_and_tooltips into lp:mir
| Status: | Merged |
|---|---|
| Approved by: | Alan Griffiths on 2015-01-22 |
| Approved revision: | 2239 |
| Merged at revision: | 2249 |
| Proposed branch: | lp:~albaguirre/mir/dialogs_and_tooltips |
| Merge into: | lp:mir |
| Diff against target: |
520 lines (+290/-41) 13 files modified
client-ABI-sha1sums (+1/-1) include/client/mir_toolkit/mir_surface.h (+87/-4) include/server/mir/scene/surface_creation_parameters.h (+2/-2) server-ABI-sha1sums (+1/-1) src/client/mir_surface.cpp (+5/-6) src/client/mir_surface.h (+1/-1) src/client/mir_surface_api.cpp (+50/-8) src/client/symbols.map (+3/-1) src/protobuf/mir_protobuf.proto (+1/-1) src/server/frontend/session_mediator.cpp (+4/-4) src/server/scene/surface_creation_parameters.cpp (+2/-2) tests/acceptance-tests/test_client_surfaces.cpp (+52/-1) tests/integration-tests/client/test_mirsurface.cpp (+81/-9) |
| To merge this branch: | bzr merge lp:~albaguirre/mir/dialogs_and_tooltips |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Alan Griffiths | Approve on 2015-01-22 | ||
| PS Jenkins bot | continuous-integration | Approve on 2015-01-22 | |
| Robert Carr (community) | Approve on 2015-01-20 | ||
| Chris Halse Rogers | 2015-01-15 | Needs Fixing on 2015-01-16 | |
|
Review via email:
|
|||
Commit Message
Add API to create dialog and tooltip surfaces.
Description of the Change
Add API to create dialog and tooltip surfaces.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2232
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:2232
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Chris Halse Rogers (raof) wrote : | # |
Firstly, spec questions:
*) Huh. Why do the docs allow the client to specify the location of a dialog‽ That's surely an error.
*) Relatedly, the spec is inconsistent on whether or not dialogs can have dialog children.
Again, we need to specify input behaviour of tooltips.
And maybe something about the input behaviour of modal dialogs, but that's less complicated.
I lean towards having two spec creation functions; _spec_for_
Relatedly, I wonder if we should drop the “_surface” from mir_connection_
| Alberto Aguirre (albaguirre) wrote : | # |
> Firstly, spec questions:
> *) Huh. Why do the docs allow the client to specify the location of a dialog‽
> That's surely an error.
It actually mentions a client specifying an optional initial position for more than dialogs so yeah doesn't belong in this dialog API.
> *) Relatedly, the spec is inconsistent on whether or not dialogs can have
> dialog children.
I could only find one sentence where it's inconsistent. However there's a full paragraph with motivation for avoiding trees of dialogs
> Again, we need to specify input behaviour of tooltips.
>
> And maybe something about the input behaviour of modal dialogs, but that's
> less complicated.
>
I added a bit of info there.
> I lean towards having two spec creation functions; _spec_for_
> and _spec_for_
> allow client-specified positioning of modal dialogs. _spec_for_
> has half the parameters of _spec_for_
I think it makes sense to split them, done.
> Relatedly, I wonder if we should drop the “_surface” from
> mir_connection_
Dropped.
| Robert Carr (robertcarr) wrote : | # |
LGTM.
Had the strange thought that maybe create_
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2235
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:2235
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Alan Griffiths (alan-griffiths) wrote : | # |
Mostly OK but...
49 + * \param [in] rect A target zone relative to parent where the tooltip
50 + * will
...will what?
- 2236. By Alberto Aguirre on 2015-01-21
-
merge lp:mir, fix conflicts
- 2237. By Alberto Aguirre on 2015-01-21
-
Fix doc
- 2238. By Alberto Aguirre on 2015-01-21
-
update sha1sum
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2238
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2238
http://
Executed test runs:
FAILURE: http://
None: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 2239. By Alberto Aguirre on 2015-01-22
-
merge lp:mir, fix sha1sum conflict
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2238
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:2239
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Alan Griffiths (alan-griffiths) wrote : | # |
OK (and I think Chris's "Needs Fixing" is addressed too)

FAILED: Continuous integration, rev:2231 jenkins. qa.ubuntu. com/job/ mir-ci/ 2666/ jenkins. qa.ubuntu. com/job/ mir-android- vivid-i386- build/879 jenkins. qa.ubuntu. com/job/ mir-clang- vivid-amd64- build/879 jenkins. qa.ubuntu. com/job/ mir-mediumtests -vivid- touch/841/ console jenkins. qa.ubuntu. com/job/ mir-vivid- amd64-ci/ 663 jenkins. qa.ubuntu. com/job/ mir-vivid- amd64-ci/ 663/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 841 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 841/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- mako/3956/ console
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- ci/2666/ rebuild
http://