-
Notifications
You must be signed in to change notification settings - Fork 20
popupUtils.open() 'caller' is deprecated for Dialog #78
Comments
I think the only use I found for the caller is here: https://gitlab.com/bhdouglass/dice-roller/-/blob/master/qml/MainPage.qml#L424 Do we have a workaround? Setting parent first? |
I found out @cibersheep in the code you linked the |
I see... I remember I had to specify the caller but I don't remember why :) sounds like to pass the parameters as you say. Would be save to remove it then? How can be done and not breaking the existing code? Parsing |
for some popup requests in morph without the caller parameter the dialogs were shown in the wrong window, see: |
Yeah, I think we can do nothing about it because |
Ubuntu UI Toolkit has moved to https://gitlab.com/ubports/core/lomiri-ui-toolkit. If this issue is still relevant, please file it again at https://gitlab.com/ubports/core/lomiri-ui-toolkit/-/issues. |
When I want to open a
Dialog
and I want to pass some params to it, I need to callPopupUtils.open()
passing acaller
in addition to myDialog
and to theparams
I want to pass. However, I get a log line sayingcan we get rid of the
caller
parameter without breaking all the existing apps?The text was updated successfully, but these errors were encountered: