on xenial help sign in
add a note mentioning the worked around bug
commit0e8355f36b21970193d40cf36ee497d3f56084fe authorLukáš Tinkl <lukas.tinkl@canonical.com> dateThu 1 Sep 2016, 14:56 (10 years ago) parent4bba1a5
1 file changed+1
tests/qmltests/Panel/tst_IndicatorItem.qml+1
tests/qmltests/Panel/tst_IndicatorItem.qml+1
@@ -190,6 +190,7 @@ Rectangle {
190190
191191 indicatorItem.expanded = true;
192192 tryCompare(findChild(indicatorItem, "icon0"), "color", theme.palette.disabled.backgroundText);
193+ // WORKAROUND for a Qt bug in comparing colors: https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1619281
193194 fuzzyCompare(findChild(indicatorItem, "leftLabel").color, theme.palette.disabled.backgroundText, 0.001);
194195 fuzzyCompare(findChild(indicatorItem, "rightLabel").color, theme.palette.disabled.backgroundText, 0.001);
195196 fuzzyCompare(findChild(indicatorItem, "indicatorName").color, theme.palette.disabled.backgroundText, 0.001);