← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1515593] [NEW] head.foregroundColor does not affect icons in the header

 

Public bug reported:

According to the documentation of PageHeadConfiguration ( https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.PageHeadConfiguration ) property "foregroundColor" should change the color of the text and icons. 
Unfortunately it only affects the page title and not icons. Screenshot attached.
Sample code:

import QtQuick 2.4
import Ubuntu.Components 1.3

Page {
    id: root_about

    title: "Test page"

    head.foregroundColor: "red"
    head.actions: [
        Action {
            iconName: "camcorder"
        },
        Action {
            iconName: "info"
        }
    ]
}

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

** Attachment added: "screenshot20151112_120353158.png"
   https://bugs.launchpad.net/bugs/1515593/+attachment/4517520/+files/screenshot20151112_120353158.png

-- 
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/1515593

Title:
  head.foregroundColor does not affect icons in the header

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  According to the documentation of PageHeadConfiguration ( https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/Ubuntu.Components.PageHeadConfiguration ) property "foregroundColor" should change the color of the text and icons. 
  Unfortunately it only affects the page title and not icons. Screenshot attached.
  Sample code:

  import QtQuick 2.4
  import Ubuntu.Components 1.3

  Page {
      id: root_about

      title: "Test page"

      head.foregroundColor: "red"
      head.actions: [
          Action {
              iconName: "camcorder"
          },
          Action {
              iconName: "info"
          }
      ]
  }

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


Follow ups