ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #05759
[Bug 1549830] Re: Apps that import Ubuntu.Components 1.2 or older use the 1.3 palette
** No longer affects: ubuntu-ui-toolkit (Ubuntu)
** Changed in: ubuntu-ui-toolkit (Ubuntu RTM)
Importance: Undecided => Critical
** Changed in: ubuntu-ui-toolkit (Ubuntu RTM)
Status: In Progress => Fix Committed
** Changed in: canonical-devices-system-image
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1549830
Title:
Apps that import Ubuntu.Components 1.2 or older use the 1.3 palette
Status in Canonical System Image:
Fix Committed
Status in ubuntu-ui-toolkit package in Ubuntu RTM:
Fix Committed
Bug description:
For example:
import QtQuick 2.4
import Ubuntu.Components 1.2
MainView {
width: units.gu(48)
height: units.gu(60)
Page {
title: "Hello, I am blue." // should be darkGrey
Label {
anchors.centerIn: parent
text: "bla"
color: Theme.palette.normal.negative // this color does not exist in 1.2 palette
}
}
}
The old header label uses the selected.backgroundText color from the
palette. This is darkGrey in the old (1.2) palette and blue in the new
(1.3) palette. Also, I can refer to Theme.palette.normal.negative,
which is a color that was not defined in the 1.2 palette.
Several apps that use the old header and import Ubuntu.Components 1.2
or older have blue text in the header because of this bug. For
example: clock app.
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1549830/+subscriptions
References