← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1617745] [NEW] Regression: popupUtils.open() won't work with "null" caller

 

Public bug reported:

I think I found a regression with popupUtils.open() in rc-proposed (r512
on mako):

I have some code which is invoking a dialog in this way:

  PopupUtils.open(Qt.resolvedUrl("DeleteConfirmation.qml"), null, { ...
params... })

This now doesn't work, but it works on OTA-12.

This can cause serious regression in third party applications, if
dialogs stop appearing.


Furthermore, if I replace "null" with a valid item, things work again
but I get a warning on the console:

  qml: 'caller' is DEPRECATED. It has no effect.

Which seems wrong, given that in the current stable documentation there
is absolutely no mention of the caller property being deprecated.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Regression: popupUtils.open()  won't work with "null" caller

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

Bug description:
  I think I found a regression with popupUtils.open() in rc-proposed
  (r512 on mako):

  I have some code which is invoking a dialog in this way:

    PopupUtils.open(Qt.resolvedUrl("DeleteConfirmation.qml"), null, {
  ... params... })

  This now doesn't work, but it works on OTA-12.

  This can cause serious regression in third party applications, if
  dialogs stop appearing.


  Furthermore, if I replace "null" with a valid item, things work again
  but I get a warning on the console:

    qml: 'caller' is DEPRECATED. It has no effect.

  Which seems wrong, given that in the current stable documentation
  there is absolutely no mention of the caller property being
  deprecated.

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


Follow ups