Merge lp:~mterry/unity-greeter/986967 into lp:unity-greeter
|Merged at revision:||455|
|Diff against target:||
10 lines (+1/-0)
1 file modified
|To merge this branch:||bzr merge lp:~mterry/unity-greeter/986967|
|Related bugs and blueprints:||
Description of the Change
So bug 986967 seems to be caused by the background alpha being stuck at 0.0 instead of driving toward 1.0. We wait for the background to finish fading in before logging the user in, because we want a smooth transition to the session.
However, imagine the following sequence:
1) The background is currently the default.
2) We start loading a new background, setting the alpha to 0.0 and starting the animation
3) It shortly fails to load, so we go back to the old background, which stops the timer.
4) When drawing again, we see that now the old background and the new background are the same, so we don't restart the timer.
So the quickest fix is to make sure that whenever we stop the timer, we 'fast-forward' the alpha to 1.0 again. That's done here.