Grouped properties in StyleHints don't work for simple values.
Bug #1602836 reported by
Tim Peeters
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
High
|
Tim Peeters |
Bug Description
For example:
import QtQuick 2.4
import Ubuntu.Components 1.3
Item {
width: units.gu(40)
height: units.gu(71)
Button {
objectName: "Button"
id: button
gradient: UbuntuColors.
StyleHints {
}
}
}
gives:
file://
and the color is not set.
Related branches
lp://staging/~tpeeters/ubuntu-ui-toolkit/fixGroupedStyleProperties
- ubuntu-sdk-build-bot: Approve (continuous-integration)
- Zsombor Egri: Approve
-
Diff: 141 lines (+78/-4)5 files modifiedsrc/Ubuntu/UbuntuToolkit/ucstylehints.cpp (+6/-3)
tests/unit/subtheming/GroupPropertyValueHints.qml (+33/-0)
tests/unit/subtheming/StyleHintsInvalidGroupedProperty.qml (+30/-0)
tests/unit/subtheming/subtheming.pro (+2/-0)
tests/unit/subtheming/tst_subtheming.cpp (+7/-1)
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Tim Peeters (tpeeters) |
importance: | Undecided → High |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | New → Fix Committed |
milestone: | none → 13 |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.