Merge lp:~nick-dedekind/unity8/lp1475678.surface-occlude into lp:unity8
| Status: | Superseded |
|---|---|
| Proposed branch: | lp:~nick-dedekind/unity8/lp1475678.surface-occlude |
| Merge into: | lp:unity8 |
| Diff against target: |
510 lines (+233/-35) 9 files modified
debian/control (+1/-1) qml/Stages/DesktopStage.qml (+71/-3) qml/Stages/PhoneStage.qml (+10/-3) qml/Stages/TabletStage.qml (+8/-0) tests/mocks/Unity/Application/MirSurface.cpp (+44/-17) tests/mocks/Unity/Application/MirSurface.h (+14/-4) tests/mocks/Unity/Application/MirSurfaceItem.cpp (+12/-2) tests/mocks/Unity/Application/MirSurfaceItem.h (+1/-0) tests/qmltests/Stages/tst_DesktopStage.qml (+72/-5) |
| To merge this branch: | bzr merge lp:~nick-dedekind/unity8/lp1475678.surface-occlude |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-10-27 | |
| Michał Sawicz | Needs Fixing on 2015-10-26 | ||
| Michael Zanetti (community) | Abstain on 2015-10-21 | ||
| Daniel d'Andrada (community) | 2015-10-05 | Needs Fixing on 2015-10-13 | |
|
Review via email:
|
|||
This proposal has been superseded by a proposal from 2015-10-27.
Commit Message
Support server->client visibility change to stop rendering (lp:#1475678)
Description of the Change
Support server->client visibility change to stop rendering (lp:#1475678)
* 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?
* Did you make sure that your branch does not contain spurious tags?
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
* If you changed the UI, has there been a design review?
- 1974. By Nick Dedekind on 2015-10-06
-
occlude on screen power
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1974
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Daniel d'Andrada (dandrader) wrote : | # |
In qml/Stages/
"""
+ // Hiding tiles when their progress is negative or reached the maximum
"""
A TODO item?
- 1975. By Nick Dedekind on 2015-10-12
-
update hide comment
| Nick Dedekind (nick-dedekind) wrote : | # |
> In qml/Stages/
>
> """
> + // Hiding tiles when their progress is negative or reached the maximum
> """
>
> A TODO item?
Yes. Fixed.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1975
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Daniel d'Andrada (dandrader) wrote : | # |
Shouldn't we do something for DesktopStage.qml as well? I quickly checked its code and it seems it doesn't set windows visibility at all.
Things to check:
- Minimized windows should have their MirSurfaces invisible/occluded.
- When a window is focused (on foreground, index 0) and maximized, the MirSurfaces of all others should be invisible/occluded
| Michał Sawicz (saviq) wrote : | # |
W dniu 13.10.2015 o 14:41, Daniel d'Andrada pisze:
> Things to check:
> - Minimized windows should have their MirSurfaces invisible/occluded.
> - When a window is focused (on foreground, index 0) and maximized, the MirSurfaces of all others should be invisible/occluded
And (maybe later) we should actually try and determine real visibility -
if a window is completely covered by others (we should probably exclude
windows with alpha from this), it should be made invisible/occluded, too.
| Lukáš Tinkl (lukas-kde) wrote : | # |
Left some inline comments; also:
> When a window is focused (on foreground, index 0) and maximized, the MirSurfaces of all others
> should be invisible/occluded
Just wondering what happens in multi monitor situations, should all the other windows/surfaces get occluded too in this case?
| Daniel d'Andrada (dandrader) wrote : | # |
On 13/10/2015 10:32, Lukáš Tinkl wrote:
>> When a window is focused (on foreground, index 0) and maximized, the MirSurfaces of all others
>> >should be invisible/occluded
> Just wondering what happens in multi monitor situations, should all the other windows/surfaces get occluded too in this case?
Since multimonitor hasn't landed and this branch does not build on top
of it, it can't really address multimonitor issues here. Furthermore, on
the first iteration, windows will be shown all in a single screen (be it
the built-in display or an external monitor), so multimonitor doesn't
really affect occlusion scenarios right now.
- 1976. By Nick Dedekind on 2015-10-13
-
dekstop stage item visibility
| Nick Dedekind (nick-dedekind) wrote : | # |
> Shouldn't we do something for DesktopStage.qml as well? I quickly checked its
> code and it seems it doesn't set windows visibility at all.
>
> Things to check:
> - Minimized windows should have their MirSurfaces invisible/occluded.
> - When a window is focused (on foreground, index 0) and maximized, the
> MirSurfaces of all others should be invisible/occluded
Added.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1976
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Daniel d'Andrada (dandrader) wrote : | # |
Could you please add a qml test to tst_DesktopStage to cover the "hide windows behind the maximized one" feature? Logic looks involved enough to warrant a test.
| Michael Zanetti (mzanetti) wrote : | # |
* Open 2 windows so that both are visible. Maximize one, the other will disappear before it's occluded.
* It breaks the alt+tab preview.
- 1977. By Nick Dedekind on 2015-10-20
-
fixed surface visibility
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1977
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Michael Zanetti (mzanetti) wrote : | # |
> * Open 2 windows so that both are visible. Maximize one, the other will
> disappear before it's occluded.
>
> * It breaks the alt+tab preview.
Both seem to be fixed now.
- 1978. By Nick Dedekind on 2015-10-22
-
Only visible if in front of maximized application
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1978
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1979. By Nick Dedekind on 2015-10-26
-
merged with trunk
- 1980. By Nick Dedekind on 2015-10-26
-
bump libunity-api version
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1980
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
Unmerged revisions
- 1980. By Nick Dedekind on 2015-10-26
-
bump libunity-api version
- 1979. By Nick Dedekind on 2015-10-26
-
merged with trunk

FAILED: Continuous integration, rev:1972 jenkins. qa.ubuntu. com/job/ unity8- ci/6421/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 4503/console jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- wily-touch/ 800/console jenkins. qa.ubuntu. com/job/ unity-phablet- qmluitests- vivid/1133/ console jenkins. qa.ubuntu. com/job/ unity-phablet- qmluitests- wily/452/ console jenkins. qa.ubuntu. com/job/ unity8- vivid-amd64- ci/1028/ console jenkins. qa.ubuntu. com/job/ unity8- vivid-i386- ci/1029/ console jenkins. qa.ubuntu. com/job/ unity8- wily-amd64- ci/660/ console jenkins. qa.ubuntu. com/job/ unity8- wily-i386- ci/661/ console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 4500/console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- wily-armhf/ 800/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity8- ci/6421/ rebuild
http://