← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1604509] [NEW] In the bottom edge component, using preload=true with contentUrl results in an empty page

 

Public bug reported:

In the bottom edge component, using preload=true with contentUrl results
in an empty page.

For example the following code 'works' with a red rectangle in the
bottom edge:

BottomEdge {
  contentUrl: Qt.resolvedUrl("RedRect.qml")
  height: parent.height
}

But the following code does not and results in a transparent overlay,
the contentItem appears to stay null.

BottomEdge {
  contentUrl: Qt.resolvedUrl("RedRect.qml")
  height: parent.height
  preloadContent: true
}

Note that using contentComponent does work with preloadContent true or false.
See the linked branch for an example of this not working.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: High
     Assignee: Zsombor Egri (zsombi)
         Status: Confirmed

** Branch linked: lp:~ahayzen/+junk/bottom-edge-preload

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

Title:
  In the bottom edge component, using preload=true with contentUrl
  results in an empty page

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

Bug description:
  In the bottom edge component, using preload=true with contentUrl
  results in an empty page.

  For example the following code 'works' with a red rectangle in the
  bottom edge:

  BottomEdge {
    contentUrl: Qt.resolvedUrl("RedRect.qml")
    height: parent.height
  }

  But the following code does not and results in a transparent overlay,
  the contentItem appears to stay null.

  BottomEdge {
    contentUrl: Qt.resolvedUrl("RedRect.qml")
    height: parent.height
    preloadContent: true
  }

  Note that using contentComponent does work with preloadContent true or false.
  See the linked branch for an example of this not working.

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


Follow ups