Public bug reported:

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.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  For example:
  
  import QtQuick 2.4
  import Ubuntu.Components 1.2
  
  MainView {
-     width: units.gu(48)
-     height: units.gu(60)
+     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
-         }
-     }
+     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 exmple:
+ older have blue text in the header because of this bug. For example:
  clock app.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549830

Title:
  Apps that import Ubuntu.Components 1.2 or older use the 1.3 palette

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1549830/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to