Merge lp:~dandrader/unity8/fixSurfaceActiveFocus into lp:unity8
| Status: | Merged |
|---|---|
| Approved by: | Albert Astals Cid on 2015-02-05 |
| Approved revision: | 1583 |
| Merged at revision: | 1602 |
| Proposed branch: | lp:~dandrader/unity8/fixSurfaceActiveFocus |
| Merge into: | lp:unity8 |
| Diff against target: |
944 lines (+439/-52) 23 files modified
plugins/Ubuntu/Gestures/TouchGate.cpp (+2/-0) plugins/Ubuntu/Gestures/TouchGate.h (+2/-0) qml/Shell.qml (+10/-1) qml/Stages/ApplicationWindow.qml (+3/-1) qml/Stages/PhoneStage.qml (+2/-0) qml/Stages/SessionContainer.qml (+24/-9) qml/Stages/SpreadDelegate.qml (+2/-1) qml/Stages/SurfaceContainer.qml (+11/-25) qml/Stages/TabletStage.qml (+14/-0) qml/Stages/TransformedTabletSpreadDelegate.qml (+1/-1) tests/mocks/Unity/Application/MirSurfaceItem.qml (+16/-1) tests/qmltests/CMakeLists.txt (+1/-0) tests/qmltests/Stages/ApplicationCheckBox.qml (+45/-0) tests/qmltests/Stages/RecursingChildSessionControl.qml (+3/-0) tests/qmltests/Stages/tst_ApplicationWindow.qml (+6/-1) tests/qmltests/Stages/tst_PhoneStage.qml (+4/-0) tests/qmltests/Stages/tst_SessionContainer.qml (+14/-7) tests/qmltests/Stages/tst_TabletStage.qml (+154/-0) tests/qmltests/tst_Shell.qml (+26/-5) tests/uqmlscene/ActiveFocusLogger.cpp (+48/-0) tests/uqmlscene/ActiveFocusLogger.h (+37/-0) tests/uqmlscene/CMakeLists.txt (+1/-0) tests/uqmlscene/main.cpp (+13/-0) |
| To merge this branch: | bzr merge lp:~dandrader/unity8/fixSurfaceActiveFocus |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Approve on 2015-02-11 | |
| Michael Zanetti (community) | 2015-01-28 | Approve on 2015-02-03 | |
|
Review via email:
|
|||
Commit Message
Tapping on a surface gives it active focus
Which needed a big refactoring of the active
focus handling of surfaces.
Useful in tablet mode, where you may have
two running applications: one on the main stage and
the other on the side stage.
Also needed for the desktop mode.
Description of the Change
* Are there any related MPs required for this MP to build/function as expected? Please list.
No.
* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes.
* Did you make sure that your branch does not contain spurious tags?
Yes.
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
Not applicable.
* If you changed the UI, has there been a design review?
Not applicable.
| Michael Zanetti (mzanetti) wrote : | # |
one inline comment on the code. still have to test it.
| Michael Zanetti (mzanetti) wrote : | # |
* See two inline comments on the tests...
* There's something fishy with the tryTabletStage and the isFullscreen property. It prints warnings about it being undefined and the scaling of the fullscreen app in spread isn't working.
* When you close an app from the spread, the checkbox isn't updated. Probably not really a big problem though
* I think it'd be better to have it like in the phonestage, with an "add app" button to add many more apps. We'll need that in the long run pretty sure, so better not start building on wrong assumptions.
| Daniel d'Andrada (dandrader) wrote : | # |
Nice catch.
| Daniel d'Andrada (dandrader) wrote : | # |
> * See two inline comments on the tests...
Fixed. Thanks.
>
> * There's something fishy with the tryTabletStage and the isFullscreen
> property. It prints warnings about it being undefined and the scaling of the
> fullscreen app in spread isn't working.
That's a pre-existing issue. isFullscreen is already absent and cause warnings in trunk.
>
> * When you close an app from the spread, the checkbox isn't updated. Probably
> not really a big problem though
Right. I didn't have the motivation to make that work as I can already manually test all use cases I was interested in without it.
>
> * I think it'd be better to have it like in the phonestage, with an "add app"
> button to add many more apps. We'll need that in the long run pretty sure, so
> better not start building on wrong assumptions.
I chose the checkbox way as needed to launch a *specific* app (eg. a side stage or a main stage one), not just any app as in the PhoneStage test.
| Michael Zanetti (mzanetti) wrote : | # |
> > * There's something fishy with the tryTabletStage and the isFullscreen
> > property. It prints warnings about it being undefined and the scaling of the
> > fullscreen app in spread isn't working.
>
> That's a pre-existing issue. isFullscreen is already absent and cause warnings
> in trunk.
yeah... seems it broke in revision 1201. isFullscreen was renamed to fullscreen and this one didn't get updated... Now would be a good opportunity to fix it again ;)
>
> >
> > * I think it'd be better to have it like in the phonestage, with an "add
> app"
> > button to add many more apps. We'll need that in the long run pretty sure,
> so
> > better not start building on wrong assumptions.
>
> I chose the checkbox way as needed to launch a *specific* app (eg. a side
> stage or a main stage one), not just any app as in the PhoneStage test.
could we have two buttons? "Add main stage" and "Add side stage"?
| Daniel d'Andrada (dandrader) wrote : | # |
On 02/02/2015 17:12, Michael Zanetti wrote:
>>> * There's something fishy with the tryTabletStage and the isFullscreen
>>> > >property. It prints warnings about it being undefined and the scaling of the
>>> > >fullscreen app in spread isn't working.
>> >
>> >That's a pre-existing issue. isFullscreen is already absent and cause warnings
>> >in trunk.
> yeah... seems it broke in revision 1201. isFullscreen was renamed to fullscreen and this one didn't get updated... Now would be a good opportunity to fix it again ;)
>
>
Ok, done.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1579
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1582
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Michael Zanetti (mzanetti) wrote : | # |
* Did you perform an exploratory manual test run of the code change and any related functionality?
yes
* Did CI run pass? If not, please explain why.
no, but doesn't look related
* Did you make sure that the branch does not contain spurious tags?
yes
| Albert Astals Cid (aacid) wrote : | # |
Text conflict in tests/qmltests/
Text conflict in tests/qmltests/
2 conflicts encountered.
- 1583. By Daniel d'Andrada on 2015-02-05
-
Merge trunk
[ Andrea Cimitan ]
* Fix continue button in wifi wizard page, adds qml-module-
qtsysteminfo as unity8 dep (LP: #1363400)
* Background needs to be specified to be visible in horizontal cards
(LP: #1411748)
[ CI Train Bot ]
* Resync trunk
[ MichaĆ Sawicz ]
* Add workaround for gcc ICE.
[ Albert Astals ]
* Implement proper updateRanges for horizontal items (i.e. Carousel,
Horizontal List)
[ Michael Terry ]
* Don't accept multiple "Finish" clicks during the last step of the
wizard
[ Daniel d'Andrada ]
* Unify all liblightdm mocks
* Ensure the greeter password field is not covered by the keyboard
* Don't show() the lockscreen if it's already being shown
| Daniel d'Andrada (dandrader) wrote : | # |
>
> Text conflict in tests/qmltests/
> Text conflict in tests/qmltests/
> 2 conflicts encountered.
Fixed.
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1583
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://

FAILED: Continuous integration, rev:1578 jenkins. qa.ubuntu. com/job/ unity8- ci/5201/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 1046 jenkins. qa.ubuntu. com/job/ unity-phablet- qmluitests- vivid/365 jenkins. qa.ubuntu. com/job/ unity8- vivid-amd64- ci/366 jenkins. qa.ubuntu. com/job/ unity8- vivid-i386- ci/366 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- vivid-mako/ 925 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 1044 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 1044/artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 17560
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity8- ci/5201/ rebuild
http://