Merge lp:~townsend/unity/fix-icon-progress-bar into lp:unity
Status: | Merged |
---|---|
Approved by: | Brandon Schaefer |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3354 |
Proposed branch: | lp:~townsend/unity/fix-icon-progress-bar |
Merge into: | lp:unity |
Diff against target: |
35 lines (+4/-3) 1 file modified
unity-shared/IconRenderer.cpp (+4/-3) |
To merge this branch: | bzr merge lp:~townsend/unity/fix-icon-progress-bar |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Brandon Schaefer (community) | Approve | ||
Review via email: mp+166370@code.launchpad.net |
Commit message
Fixes the issue where the filling in of the progress bar over Launcher icons does not scale when using smaller or larger icon sizes than the default size of 48.
Description of the change
= Issue =
When using smaller or larger ions in the Launcher, the progress bar over the icons (ie, when copying large files) does not scale and will either show a gap in the progress bar when using small icons or the fill will be farther left of the bar when using larger icons. The default size of the icons is 48 and this works well.
= Fix =
Based on icon size 48 working well, the offset of the fill portion of the bar is 6. This is a ratio of 0.125. Using this same ratio for smaller and larger icons, the fill portion begins where is should.
= Test =
As this is a visual bug, no automated test can be used. Use the manual test described in the bug for verification.
FAILED: Continuous integration, rev:3351 jenkins. qa.ubuntu. com/job/ unity-ci/ 106/ jenkins. qa.ubuntu. com/job/ unity-raring- amd64-ci/ 110 jenkins. qa.ubuntu. com/job/ unity-raring- armhf-ci/ 106/console jenkins. qa.ubuntu. com/job/ unity-raring- i386-ci/ 106
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ unity-ci/ 106/rebuild
http://