Boot animation spinner shouldn't stay alive on phone images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-system-compositor (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The spinner architecture was written with traditional use cases in mind -- a greeter session, and potentially multiple user sessions. It was designed to stay alive as long as unity-system-
However, on the phone images, we have a different situation. We still like the boot animation, but don't care about the interstitials, since we only ever have one session [1]. And the spinner takes up about 11k memory. That's an easy 11k to free up if we could.
I propose we just hack something specific to the phone image for this use case. We can throw a script in lxc-android-config to wait for unity8 to appear and then kill the spinner.
[1] Mostly true. The welcome wizard on first boot is a separate session and we want the interstitial there for the transition to the user's first unity8 session.
Related branches
- Mirco Müller (community): Approve
- Alberto Aguirre (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 97 lines (+20/-4)2 files modifiedsrc/system_compositor.cpp (+18/-3)
src/system_compositor.h (+2/-1)
no longer affects: | ubuntu-touch-session (Ubuntu) |
no longer affects: | lxc-android-config (Ubuntu) |
This bug was fixed in the package unity-system- compositor - 0.0.3+14. 10.20140619- 0ubuntu1
--------------- compositor (0.0.3+ 14.10.20140619- 0ubuntu1) utopic; urgency=low
unity-system-
[ Michael Terry ]
* Kill the boot animation spinner when not needed, saving resources
(LP: #1331550)
-- Ubuntu daily release <email address hidden> Thu, 19 Jun 2014 22:23:50 +0000