Launcher - Add API to allow apps to override the Launcher tile colourisation with a colour of their choosing
Bug #962120 reported by
John Lea
This bug affects 11 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ayatana Design |
Fix Released
|
Medium
|
John Lea | ||
Unity |
Fix Released
|
Medium
|
Andrea Azzarone | ||
unity (Ubuntu) |
Fix Released
|
Undecided
|
Andrea Azzarone |
Bug Description
Add API to allow apps to override the Launcher tile colourisation with a colour of their choosing.
Currently the Launcher tiles are tinted using the average colour of the icon. The request is to add a API to allow apps to use any specific colour value to tint their Launcher tile. This could take the form of an extension to the .desktop file (that will work on png and svg) or a tag in the svg of the icon.
Related branches
lp:~azzar1/unity/custom-bg-color-icon
- Thomi Richards (community): Approve
- Andrea Azzarone (community): Needs Resubmitting
- Marco Trevisan (Treviño): Approve
-
Diff: 465 lines (+172/-13)19 files modifiedUnityCore/DesktopUtilities.cpp (+25/-2)
UnityCore/DesktopUtilities.h (+2/-0)
hud/HudIconTextureSource.cpp (+1/-1)
hud/HudIconTextureSource.h (+1/-1)
launcher/BFBLauncherIcon.cpp (+1/-1)
launcher/BFBLauncherIcon.h (+1/-1)
launcher/BamfLauncherIcon.cpp (+29/-0)
launcher/BamfLauncherIcon.h (+6/-0)
launcher/HudLauncherIcon.cpp (+1/-1)
launcher/HudLauncherIcon.h (+1/-1)
launcher/LauncherIcon.cpp (+1/-1)
launcher/LauncherIcon.h (+1/-1)
launcher/MockLauncherIcon.h (+1/-1)
tests/CMakeLists.txt (+5/-0)
tests/data/ubuntu-software-center.desktop (+1/-0)
tests/test_bamflaunchericon.cpp (+68/-0)
tests/test_desktop_utilities.cpp (+24/-0)
tests/test_main.cpp (+2/-1)
unity-shared/IconTextureSource.h (+1/-1)
Changed in ayatana-design: | |
assignee: | nobody → John Lea (johnlea) |
importance: | Undecided → Medium |
Changed in unity: | |
milestone: | none → backlog |
Changed in ayatana-design: | |
status: | New → Triaged |
Changed in unity: | |
status: | New → Confirmed |
Changed in unity (Ubuntu): | |
status: | New → Confirmed |
tags: | added: udp |
description: | updated |
Changed in ayatana-design: | |
status: | Triaged → Fix Committed |
Changed in unity: | |
status: | Confirmed → Triaged |
importance: | Undecided → Medium |
Changed in unity: | |
status: | Triaged → Fix Committed |
Changed in unity (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in unity: | |
assignee: | nobody → Andrea Azzarone (andyrock) |
Changed in unity (Ubuntu): | |
assignee: | nobody → Andrea Azzarone (andyrock) |
Changed in unity: | |
milestone: | backlog → 6.0 |
Changed in unity: | |
status: | Fix Committed → Fix Released |
Changed in ayatana-design: | |
status: | Fix Committed → Fix Released |
tags: |
added: reviewedbydesignq removed: udp |
To post a comment you must log in.
Here's an example of where a couple of icons look quite bad on the launcher with the 'icon average colour'. The baidu and hao222 icons below firefox on the launcher on the icons in question.