← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1311714] Re: PopupUtils/PageStack difficult to troubleshoot error when a component can't be created

 

We are printing the errorString now if there is a failure in UITK 1.3
when loading a Page.

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: Confirmed => Fix Released

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

Title:
  PopupUtils/PageStack difficult to troubleshoot error when a component
  can't be created

Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Released

Bug description:
  When PopupUtils or PageStack is passed a component which has an error
  in it, all that is shown is

  QQmlComponent: Component is not ready
  PopupUtils.open(): Failed to create the popup object.

  This isn't very helpful and makes it hard for the developer to
  troubleshoot the problem. Component provides a errorString() method
  that provides more details about why the object could not be created.
  Could this be used in PopUtils and PageStack to provide more details
  to the developer?

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