Merge lp:~mzanetti/unity/phablet-unload-far-away-images into lp:unity/phablet
Proposed by
Michael Zanetti
Status: | Superseded |
---|---|
Proposed branch: | lp:~mzanetti/unity/phablet-unload-far-away-images |
Merge into: | lp:unity/phablet |
Diff against target: |
154 lines (+29/-9) 10 files modified
Dash/Apps/ApplicationsFilterGrid.qml (+1/-1) Dash/Apps/RunningApplicationTile.qml (+1/-1) Dash/DashContent.qml (+20/-0) Dash/GenericLensView.qml (+1/-1) Dash/Music/AlbumTile.qml (+1/-1) Dash/Music/CarouselDelegateMusic.qml (+1/-1) Dash/People/CarouselDelegatePeople.qml (+1/-1) Dash/People/Delegate.qml (+1/-1) Dash/Video/CarouselDelegateVideo.qml (+1/-1) Dash/Video/VideosFilterGrid.qml (+1/-1) |
To merge this branch: | bzr merge lp:~mzanetti/unity/phablet-unload-far-away-images |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michał Sawicz | Needs Information | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+160083@code.launchpad.net |
This proposal has been superseded by a proposal from 2013-06-06.
Commit message
Unload images on Dashes further away than 1 index from currentIndex.
Originally proposed by Kaleo, merged and completed.
Description of the change
On large screens (tested with 2540x1600 - similar to Nexus 10) this saves up to 70MB of memory after traversing all lens once. On smaller screens its obviously less (On the Galaxy Nexus ~ 15MB).
To post a comment you must log in.
Unmerged revisions
- 618. By Michael Zanetti
-
restart instead of start
- 617. By Michael Zanetti
-
add a grace period before hiding lens
- 616. By Michael Zanetti
-
Do not load images that are invisible and set lenses that are far to be invisible.
Initially proposed by Kaleo. Merged and completed.
On the Nexus 10, when swiping to the Video lens, and then very quickly all the way to the Music lens, you can see the Images how they need to get loaded. Right now the UbuntuShapes are black while reloading the images, caused by this bug: https:/ /bugs.launchpad .net/ubuntu- ui-toolkit/ +bug/1132771. Once this bug is fixed, one can still see the images missing and appearing only a second after switching to a Dash. Is that still ok?
Another bug, again in the UbuntuShape, that gets visible with this change is this https:/ /bugs.launchpad .net/ubuntu- ui-toolkit/ +bug/1171437. Once fixed, this shouldn't be an issue any more.