Merge lp://staging/~dandrader/qtmir/surviveEmptyTexture into lp://staging/qtmir
Status: | Superseded |
---|---|
Proposed branch: | lp://staging/~dandrader/qtmir/surviveEmptyTexture |
Merge into: | lp://staging/qtmir |
Prerequisite: | lp://staging/~gerboland/qtmir/multimonitor |
Diff against target: |
125 lines (+22/-17) 6 files modified
src/modules/Unity/Application/mirbuffersgtexture.cpp (+7/-2) src/modules/Unity/Application/mirsurface.cpp (+8/-6) src/modules/Unity/Application/mirsurface.h (+1/-1) src/modules/Unity/Application/mirsurfaceinterface.h (+1/-1) src/modules/Unity/Application/mirsurfaceitem.cpp (+4/-6) tests/modules/common/fake_mirsurface.h (+1/-1) |
To merge this branch: | bzr merge lp://staging/~dandrader/qtmir/surviveEmptyTexture |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Gerry Boland (community) | Abstain | ||
Review via email: mp+273221@code.staging.launchpad.net |
This proposal has been superseded by a proposal from 2015-10-15.
Commit message
MirSurfaceItem: Survive holding a surface with an empty texture
Survive having a surface whose texture holds no mir buffer at all.
Instead of crashing in such situation we simply don't render it.
Description of the change
To solve a reasonably common I crash I get when launching a desktop unity8 session where unity8-dash, for some reason, is messed up.
Now with this patch, when this happens, I just get an empty unity8-dash window instead and closing it (which makes it respawn) solves the problem.
* Are there any related MPs required for this MP to build/function as expected? Please list.
Just the prerequisite.
* 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
FAILED: Continuous integration, rev:386 jenkins. qa.ubuntu. com/job/ qtmir-ci/ 476/ jenkins. qa.ubuntu. com/job/ qtmir-vivid- amd64-ci/ 172/console jenkins. qa.ubuntu. com/job/ qtmir-vivid- armhf-ci/ 172/console jenkins. qa.ubuntu. com/job/ qtmir-vivid- i386-ci/ 54/console jenkins. qa.ubuntu. com/job/ qtmir-wily- amd64-ci/ 209/console jenkins. qa.ubuntu. com/job/ qtmir-wily- armhf-ci/ 209/console jenkins. qa.ubuntu. com/job/ qtmir-wily- i386-ci/ 54/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/qtmir- ci/476/ rebuild
http://