ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #05742
[Bug 1549830] Re: Apps that import Ubuntu.Components 1.2 or older use the 1.3 palette
** Also affects: ubuntu-ui-toolkit (Ubuntu RTM)
Importance: Undecided
Status: New
** Also affects: canonical-devices-system-image
Importance: Undecided
Status: New
** Changed in: canonical-devices-system-image
Milestone: None => ww08-2016
--
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:
New
Status in ubuntu-ui-toolkit package in Ubuntu:
Confirmed
Status in ubuntu-ui-toolkit package in Ubuntu RTM:
New
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