← Back to team overview

touch-packages team mailing list archive

[Bug 1418507] Re: PopupUtils.open doesn't print errors when failing to load component

 

** Branch linked: lp:~ubuntu-sdk-team/ubuntu-ui-
toolkit/popupUtilsOpenError

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

Title:
  PopupUtils.open doesn't print errors when failing to load component

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

Bug description:
  Whenever popupUtils is used in a way such as for example

  PopupUtils.open(Qt.resolvedUrl("TextInputPopover.qml"), anchor, {
  "target": handler.main })

  and for instance TextInputPopover.qml may fail to parse or have
  runtime errors in QML the only output one will see is

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

  The actual errors need to be printed explicitly.

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


References