[sdk] A disabled label cannot be visually differantiated from enabled labels

Bug #1491802 reported by Jonas G. Drange
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu UX
Fix Committed
Critical
Jouni Helminen
ubuntu-ui-toolkit (Ubuntu)
Confirmed
High
Zsombor Egri

Bug Description

Reproduce:
Label {
    text: "Example text"
    enabled: false
}
Label {
    text: "Example text"
    enabled: true
}

What happens:
The two labels are visually equal.

What should have happened:
The disabled label should somehow indicate a disabled state.

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

Currently developers are faking disabled labels by setting opacity. So if/when toolkit visual designers decide that they should be styled another way (even just a different opacity level), the longer this bug goes unfixed, the more lines of code will need finding and changing.

Changed in ubuntu-ux:
importance: Undecided → Critical
assignee: nobody → Jouni Helminen (jounihelminen)
Revision history for this message
Zsombor Egri (zsombi) wrote :

As Label is not an active component, it cannot really be disabled. If the Label belongs to a component, then it should be dimmed same way as the component itself.

Revision history for this message
Jouni Helminen (jounihelminen) wrote :

We need a solution for this, will discuss with SDK team next week on hangouts. I'll invite you too Jonas

Changed in ubuntu-ux:
status: New → In Progress
Revision history for this message
Jouni Helminen (jounihelminen) wrote :

The label disabled visual is being changed to 0.3 opacity in the toolkit

Changed in ubuntu-ux:
status: In Progress → Fix Committed
summary: - A disabled label cannot be visually differantiated from enabled labels
+ [sdk] A disabled label cannot be visually differantiated from enabled
+ labels
Cris Dywan (kalikiana)
Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Zsombor Egri (zsombi)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.