[SDK] Need a standard way to make an Icon look disabled
Bug #1393485 reported by
Ugo Riboni
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Zoltan Balogh | ||
Ubuntu UX |
Fix Committed
|
High
|
Femma | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
High
|
Tim Peeters | ||
ubuntu-ui-toolkit (Ubuntu RTM) |
Fix Released
|
High
|
Tim Peeters |
Bug Description
[Updated description]
Right now if one wants to use an Icon inside a ListItem.Empty or any other AbstractButton derived class, and disable the item, there is no standard way to make the Icon look disabled without directly affecting its opacity and/or colorization.
Haviing a standard way to do this would help promoting consistency in the UI.
--- UX Solution ---
Agreed. Disabled icons should have 30% opacity by default, but that can be changed by the App developer
–––
Desired solution:
Adjust the opacity to 30% (0.3) for all disabled icons. This will be consistent with our disabled states on buttons.
Related branches
lp://staging/~tpeeters/ubuntu-ui-toolkit/icon-disabled
Rejected
for merging
into
lp://staging/ubuntu-ui-toolkit/staging
- Tim Peeters: Disapprove
- ubuntu-sdk-build-bot: Needs Fixing (continuous-integration)
- Cris Dywan: Needs Fixing
-
Diff: 113 lines (+45/-3)3 files modifiedexamples/ubuntu-ui-toolkit-gallery/Icons.qml (+30/-2)
src/Ubuntu/Components/1.3/Icon.qml (+1/-0)
tests/unit_x11/tst_components/tst_icon13.qml (+14/-1)
lp://staging/~tpeeters/ubuntu-ui-toolkit/disabledActions
- ubuntu-sdk-build-bot: Approve (continuous-integration)
- Zsombor Egri: Approve
-
Diff: 109 lines (+21/-8)5 files modifiedcomponents.api (+1/-0)
src/Ubuntu/Components/Styles/1.3/PageHeaderStyle.qml (+6/-1)
src/Ubuntu/Components/Themes/Ambiance/1.3/OverflowPanel.qml (+10/-5)
src/Ubuntu/Components/Themes/Ambiance/1.3/PageHeaderStyle.qml (+3/-2)
tests/unit_x11/tst_components/tst_pageheader.qml (+1/-0)
Changed in ubuntu-ui-toolkit: | |
status: | New → Incomplete |
tags: | added: design-sync |
Changed in ubuntu-ux: | |
importance: | Undecided → High |
assignee: | nobody → Giorgio Venturi (giorgio-venturi) |
description: | updated |
Changed in ubuntu-ux: | |
status: | New → Fix Committed |
description: | updated |
Changed in ubuntu-ui-toolkit: | |
status: | Incomplete → Triaged |
assignee: | nobody → Tim Peeters (tpeeters) |
importance: | Undecided → Medium |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Tim Peeters (tpeeters) |
importance: | Undecided → Medium |
status: | New → Triaged |
no longer affects: | ubuntu-ui-toolkit |
summary: |
- Need a standard way to make an Icon look disabled + [SDK] Need a standard way to make an Icon look disabled |
Changed in ubuntu-ux: | |
assignee: | Giorgio Venturi (giorgio-venturi) → nobody |
assignee: | nobody → Jouni Helminen (jounihelminen) |
Changed in ubuntu-ux: | |
assignee: | Jouni Helminen (jounihelminen) → nobody |
assignee: | nobody → Jamie Young (jamiedawsonyoung) |
description: | updated |
Changed in ubuntu-ux: | |
assignee: | Jamie Young (jamiedawsonyoung) → Femma (femma) |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
importance: | Medium → High |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Zoltan Balogh (bzoltan) |
importance: | Undecided → High |
milestone: | none → 11 |
Changed in canonical-devices-system-image: | |
status: | New → In Progress |
Changed in ubuntu-ui-toolkit (Ubuntu RTM): | |
status: | New → Fix Committed |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-ui-toolkit (Ubuntu RTM): | |
assignee: | nobody → Tim Peeters (tpeeters) |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
so what you want is a standard look for an Icon with enabled: false?