qml/Ubuntu/Components/1.3/PageHeader.qml:123: TypeError: Cannot read property 'titleComponent' of null

Bug #1588837 reported by Cris Dywan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Unassigned
ubuntu-ui-toolkit (Ubuntu)
Fix Released
High
Tim Peeters

Bug Description

Page {
    id: bufferPage
    header: PageHeader {
        title: "foo"
        subtitle: "bar"
    }
}

Setting PageHeader.subtitle is racy and produces the following errors on startup:

file:///usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/1.3/PageHeader.qml:123: TypeError: Cannot read property 'titleComponent' of null

Related branches

Cris Dywan (kalikiana)
description: updated
Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit (Ubuntu):
importance: Undecided → High
Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Confirmed
Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit (Ubuntu):
status: Confirmed → In Progress
Cris Dywan (kalikiana)
Changed in ubuntu-ui-toolkit (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-ui-toolkit - 1.3.2009+16.10.20160615.3

---------------
ubuntu-ui-toolkit (1.3.2009+16.10.20160615.3) yakkety; urgency=medium

  [ Tim Peeters ]
  * Introduce Styles.SectionsStyle. Fixes LP: #1585548
  * Update header contents only after its style was initialized.
    Fixes LP: #1588837
  * Update export_qml_dir.qml to work inside a lxd container.
  * Draw a red outline around the subheader in AdaptivePageLayout to warn that
    the old header is deprecated. Fixes LP: #1583636

  [ Christian Dywan ]
  * Select the current item before adding the test page.
  * Introduce gallery for browsing visual tests.
  * Put Scrollbar in ShaderEffectSource to blend with frame. Fixes LP: #1583543
  * Correctly use build/src dir with unit tests. Fixes LP: #1589982

  [ Florian Boucault ]
  * Do not initialize haptics at startup but only when used for the first time.
  * PageHeadButton: do not load the icon until the button is made visible.

  [ Albert Astals Cid ]
  * Prepend UC_ to performance env vars.
  * Using -1 as PERFORMANCE_MONITOR_WARNING_COUNT_THRESHOLD envvar disables the
    warning count threshold.
  * Add envvars to change the performance monitor variables.

 -- Zoltán Balogh <email address hidden> Wed, 15 Jun 2016 18:32:29 +0000

Changed in ubuntu-ui-toolkit (Ubuntu):
status: Fix Committed → Fix Released
Changed in canonical-devices-system-image:
status: New → Fix Committed
importance: Undecided → High
milestone: none → 12
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.