Allow Header foreground color customization per Page

Bug #1315884 reported by Michael Hall on 2014-05-04
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
High
Tim Peeters
ubuntu-ui-toolkit (Ubuntu)
Undecided
Unassigned
Vivid
Undecided
Unassigned

Bug Description

Each Page should have the ability to customize a few things about the look of the header, these changes should take affect when the page becomes the top page in a PageStack or the current tab in Tabs.

headerTextColor: Set the color of text displayed in the Header

I removed the other (header background) properties from this bug, they are now in a separate bug here: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1350893

Related branches

Michael Hall (mhall119) on 2014-05-04
tags: added: android-compat header theming
Tim Peeters (tpeeters) wrote :

Michael can you discuss with design which customization is important?

I do not think "android-compat" is a good enough motivation for implementing certain features. If you can add a few use cases, that would help in prioritizing the features and deciding on an API to add them (for example, for a fixed header color per-app we may recommend to use theming, or add a property to the MainView. However, if it is a common use case to change the header-color per Page in an app, we may need to add a property to the page. It is also important to get feedback from design on this to find out which settings we like to promote and for which we will recommend the app developers to use the defaults to make the applications consistent).

Changed in ubuntu-ui-toolkit:
status: New → Confirmed
assignee: nobody → Tim Peeters (tpeeters)
importance: Undecided → Medium
Tim Peeters (tpeeters) on 2014-07-02
Changed in ubuntu-ui-toolkit:
importance: Medium → High
Tim Peeters (tpeeters) wrote :

Workaround for the header color: use MainView.backgroundColor, this also updates the header background.
If you need the page contents to be a different color from the background, you can add a background in the Page.

Tim Peeters (tpeeters) wrote :

The features requested here are actually several features. I am working on a branch to set the foreground and background color of the header. For images, please report a separate bug.

Tim Peeters (tpeeters) on 2014-07-31
summary: - Allow Header style customization per Page
+ Allow Header foreground color customization per Page
Changed in ubuntu-ui-toolkit:
status: Confirmed → In Progress
description: updated
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/staging at revision None, scheduled for release in ubuntu-ui-toolkit, milestone Unknown

Changed in ubuntu-ui-toolkit:
status: In Progress → Fix Committed
Timo Jyrinki (timo-jyrinki) wrote :

ubuntu-ui-toolkit (1.1.1179+14.10.20140804-0ubuntu1) utopic; urgency=medium

  [ Florian Boucault ]
  * UbuntuShape: removed QML proxy.

  [ Loïc Molinari ]
  * [UbuntuShape] Implemented QSGMaterial::compare() methods so that
    Ubuntu shapes can be batched.
    Fixes: https://bugs.launchpad.net/bugs/1350863.
  * Disconnected from old texture provider signals (Ubuntushape)

  [ Tim Peeters ]
  * Make header text color configurable, and always match the header
    icon colors to the header text color.
    Fixes: https://bugs.launchpad.net/bugs/1315884
           https://bugs.launchpad.net/bugs/1317816.

  [ Christian Dywan ]
  * Move QSKIP for test_updateAlarm_Repeating one line up.

  [ Zsombor Egri ]
  * Text input context menu facelift.

  [ Michał Sawicz ]
   * Add "source" property to the Icon component.
     Fixes: https://bugs.launchpad.net/bugs/1284233
 -- Ubuntu daily release <email address hidden> Mon, 04 Aug 2014 16:00:56 +0000

Changed in ubuntu-ui-toolkit:
status: Fix Committed → Fix Released
Zsombor Egri (zsombi) on 2015-07-14
Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints