← Back to team overview

touch-packages team mailing list archive

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

 

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Importance: Undecided => Medium

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

** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: (unassigned) => Tim Peeters (tpeeters)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Confirmed
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Confirmed

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-ui-toolkit/+bug/1311714/+subscriptions