Merge lp:~mterry/unity8/default-icon-background into lp:unity8
Status: | Work in progress | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~mterry/unity8/default-icon-background | ||||
Merge into: | lp:unity8 | ||||
Diff against target: |
451 lines (+96/-54) 15 files modified
plugins/Dash/CardCreator.js (+12/-9) qml/Components/ExternalIcon.qml (+49/-0) qml/Dash/Previews/PreviewHeader.qml (+9/-17) qml/Launcher/LauncherDelegate.qml (+4/-8) qml/Stages/Splash.qml (+2/-10) tests/plugins/Dash/cardcreator/1.res (+2/-1) tests/plugins/Dash/cardcreator/1.res.cardcreator (+2/-1) tests/plugins/Dash/cardcreator/11.res (+2/-1) tests/plugins/Dash/cardcreator/11.res.cardcreator (+2/-1) tests/plugins/Dash/cardcreator/12.res (+2/-1) tests/plugins/Dash/cardcreator/12.res.cardcreator (+2/-1) tests/plugins/Dash/cardcreator/3.res (+2/-1) tests/plugins/Dash/cardcreator/3.res.cardcreator (+2/-1) tests/plugins/Dash/cardcreator/5.res (+2/-1) tests/plugins/Dash/cardcreator/5.res.cardcreator (+2/-1) |
||||
To merge this branch: | bzr merge lp:~mterry/unity8/default-icon-background | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Unity8 CI Bot | continuous-integration | Approve | |
Unity Team | Pending | ||
Review via email: mp+295518@code.launchpad.net |
Commit message
Force all app icons to have a background, so we don't get any bleed-through to the dash wallpaper.
UbuntuColors.
Description of the change
Always specify a backgroundColor for app icons. It looks bad to have the wallpaper peeking through. And per [1], designers don't like transparent icon backgrounds either.
I chose UbuntuColors.
- White or black are probably the best/most-neutral choices.
- The current default wallpaper is closer to white than black. So existing transparent icons are expecting to be surrounded by a light color.
- When uploading an app, the developer first sees their icon presented on a whitish webpage background (on myapps.
- Since the user obviously isn't picky about the background color, we can deviate from pure white a bit to be more on-brand and use porcelain rather than "#ffffff".
I know that I just filed another branch to get unity8 to use UbuntuColors less, but in this case, it's reasonable. App icons don't relate to the theme, so it's not appropriate to use a themed color name for this case.
I think it's reasonable for us to reserve the right to change the color in the future, though once we establish white-ish as the background, we probably shouldn't deviate much from white-ish.
I didn't go crazy with modifying cards I didn't need to. My primary focus was app icons, though there might be several other places where we load external icons/images that we want to ensure we don't make it look janky.
For testing, search for "sad trombone" in the store and install it. It uses a transparent icon.
[1] https:/
== Checklist ==
* Are there any related MPs required for this MP to build/function as expected? Please list.
no
* 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?
NA
* If you changed the UI, has there been a design review?
Working on it.
Unmerged revisions
- 2402. By Michael Terry
-
Fix card creator tests
- 2401. By Michael Terry
-
Always provide a background color for app icons
FAILED: Continuous integration, rev:2402 /unity8- jenkins. ubuntu. com/job/ lp-unity8- ci/1283/ /unity8- jenkins. ubuntu. com/job/ build-0- fetch/1726 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= vivid+overlay/ 1675 /unity8- jenkins. ubuntu. com/job/ build-1- sourcepkg/ release= xenial+ overlay/ 1675 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 1668 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= vivid+overlay/ 1668/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial+ overlay/ 1668 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= xenial+ overlay/ 1668/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=amd64, release= yakkety/ 1668/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 1668 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= vivid+overlay/ 1668/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial+ overlay/ 1668 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= xenial+ overlay/ 1668/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=armhf, release= yakkety/ 1668/console /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 1668 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= vivid+overlay/ 1668/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial+ overlay/ 1668 /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= xenial+ overlay/ 1668/artifact/ output/ *zip*/output. zip /unity8- jenkins. ubuntu. com/job/ build-2- binpkg/ arch=i386, release= yakkety/ 1668/console
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
Click here to trigger a rebuild: /unity8- jenkins. ubuntu. com/job/ lp-unity8- ci/1283/ rebuild
https:/