Merge lp:~unity-team/qtmir/shell_chrome into lp:qtmir
| Status: | Merged |
|---|---|
| Approved by: | Gerry Boland on 2016-03-16 |
| Approved revision: | 450 |
| Merged at revision: | 464 |
| Proposed branch: | lp:~unity-team/qtmir/shell_chrome |
| Merge into: | lp:qtmir |
| Prerequisite: | lp:~mzanetti/qtmir/surfacemanager-getters |
| Diff against target: |
1146 lines (+196/-124) 29 files modified
CMakeLists.txt (+1/-1) debian/changelog (+7/-0) debian/control (+2/-2) src/modules/Unity/Application/application.cpp (+2/-1) src/modules/Unity/Application/application.h (+1/-3) src/modules/Unity/Application/application_manager.cpp (+3/-14) src/modules/Unity/Application/application_manager.h (+1/-11) src/modules/Unity/Application/mirsurface.cpp (+26/-7) src/modules/Unity/Application/mirsurface.h (+6/-3) src/modules/Unity/Application/mirsurfaceinterface.h (+2/-0) src/modules/Unity/Application/mirsurfaceitem.cpp (+6/-0) src/modules/Unity/Application/mirsurfaceitem.h (+1/-0) src/modules/Unity/Application/mirsurfacemanager.cpp (+5/-6) src/modules/Unity/Application/mirsurfacemanager.h (+2/-2) src/modules/Unity/Application/session.cpp (+3/-1) src/platforms/mirserver/CMakeLists.txt (+1/-1) src/platforms/mirserver/creationhints.cpp (+28/-5) src/platforms/mirserver/creationhints.h (+11/-7) src/platforms/mirserver/mirwindowmanager.cpp (+6/-7) src/platforms/mirserver/sessionlistener.cpp (+5/-5) src/platforms/mirserver/sessionlistener.h (+4/-4) src/platforms/mirserver/surfaceobserver.cpp (+6/-2) src/platforms/mirserver/surfaceobserver.h (+2/-1) tests/framework/fake_mirsurface.h (+3/-0) tests/framework/qtmir_test.cpp (+1/-1) tests/mirserver/WindowManager/CMakeLists.txt (+2/-0) tests/mirserver/WindowManager/window_manager.cpp (+26/-5) tests/modules/ApplicationManager/application_manager_test.cpp (+29/-31) tests/modules/SurfaceManager/mirsurface_test.cpp (+4/-4) |
| To merge this branch: | bzr merge lp:~unity-team/qtmir/shell_chrome |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Gerry Boland | 2016-02-17 | Approve on 2016-03-16 | |
| Unity8 CI Bot | continuous-integration | 2016-02-17 | Needs Fixing on 2016-03-14 |
| Lukáš Tinkl (community) | Needs Fixing on 2016-03-13 | ||
| PS Jenkins bot | continuous-integration | 2016-02-17 | Needs Fixing on 2016-02-17 |
|
Review via email:
|
|||
This proposal supersedes a proposal from 2016-02-17.
Commit Message
Add support for low shell chrome.
Description of the Change
* Are there any related MPs required for this MP to build/function as expected? Please list.
https:/
https:/
https:/
* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:443
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:444
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:444
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:445
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:445
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Gerry Boland (gerboland) wrote : | # |
As I said in the unity-api MP, I don't understand what you mean by "shell chrome" and suspect there might be better terminology.
Am happy to see the ExecFlags stuff going away.
+void MirSurfaceManag
nitpick - have the & beside the variable name.
In this method, I'm not convinced why mutex needed. This will be called on the GUI thread, since it a slot connected to via a queued connection.
You've a blank line after the if statement here too.
+++ src/modules/
+ const QVariant& value);
nitpick - & beside the var name please.
+++ src/platforms/
+++ src/platforms/
In both files:
+ void surfaceMofidied
Type. Plus & beside var name.
| Gerry Boland (gerboland) wrote : | # |
+ void surfaceMofidied
typo
| Nick Dedekind (nick-dedekind) wrote : | # |
> As I said in the unity-api MP, I don't understand what you mean by "shell
> chrome" and suspect there might be better terminology.
>
> Am happy to see the ExecFlags stuff going away.
>
>
> +void MirSurfaceManag
> std::shared_
> nitpick - have the & beside the variable name.
done.
>
> In this method, I'm not convinced why mutex needed. This will be called on the
> GUI thread, since it a slot connected to via a queued connection.
I didn't add the mutex, but it's protecting the "surface to qml surface" hash in other methods, so just doing the same. Either keep, or remove all.
>
> You've a blank line after the if statement here too.
>
Done.
> +++ src/modules/
> + const QVariant& value);
> nitpick - & beside the var name please.
>
Done.
> +++ src/platforms/
Removed this class. Not used.
> +++ src/platforms/
> In both files:
> + void surfaceMofidied
> Type. Plus & beside var name.
Done.
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:447
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
| Gerry Boland (gerboland) wrote : | # |
+void MirSurface:
I thought this was a hint set by clients only.
| Gerry Boland (gerboland) wrote : | # |
+++ src/modules/
newline added, please remove.
+ if (it != m_mirSurfaceToQ
+
+ qmlSurface = it.value();
kill the newline please
| Nick Dedekind (nick-dedekind) wrote : | # |
> +void MirSurface:
> I thought this was a hint set by clients only.
Which is why it's not in unity-api; but the value comes through the window manager surface modifications, so I set it from there.
| Nick Dedekind (nick-dedekind) wrote : | # |
> > +void MirSurface:
> > I thought this was a hint set by clients only.
>
> Which is why it's not in unity-api; but the value comes through the window
> manager surface modifications, so I set it from there.
It's updating the surface's internal state, not the server->client.
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:448
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
| Gerry Boland (gerboland) wrote : | # |
> > +void MirSurface:
> > I thought this was a hint set by clients only.
>
> Which is why it's not in unity-api; but the value comes through the window
> manager surface modifications, so I set it from there.
It could be a private slot then. I only see it being called in mirsurface.cpp
| Gerry Boland (gerboland) wrote : | # |
Rest looks reasonable
| Nick Dedekind (nick-dedekind) wrote : | # |
> > > +void MirSurface:
> > > I thought this was a hint set by clients only.
> >
> > Which is why it's not in unity-api; but the value comes through the window
> > manager surface modifications, so I set it from there.
>
> It could be a private slot then. I only see it being called in mirsurface.cpp
Yeah, I changed it to private slot. It was previously being called from MirSurfaceManager directly, but now it's using the surface observer in the same way as the min/max size hints are coming through.
| Gerry Boland (gerboland) wrote : | # |
Cool, thanks for that
- 449. By Michał Sawicz on 2016-03-11
-
Bump application API version
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:449
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
| Lukáš Tinkl (lukas-kde) wrote : | # |
Merge trunk please, I'm getting conflicts in lp:~unity-team/qtmir/kbdLayout
- 450. By Lukáš Tinkl on 2016-03-14
-
merge trunk
| Unity8 CI Bot (unity8-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:450
https:/
Executed test runs:
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
| Gerry Boland (gerboland) wrote : | # |
Code reasonable. I tested the same code earlier and it was good
- 451. By Nick Dedekind on 2016-03-18
-
fixed initial low chrome value

FAILED: Continuous integration, rev:443 /unity8- jenkins. ubuntu. com/job/ lp-qtmir- 1-ci/78/ /unity8- jenkins. ubuntu. com/job/ build/546/ console /unity8- jenkins. ubuntu. com/job/ build-0- fetch/569 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 587 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial/ 587 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 583/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial/ 583/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 583/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial/ 583/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 583/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial/ 583/console
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild: /unity8- jenkins. ubuntu. com/job/ lp-qtmir- 1-ci/78/ rebuild
https:/