https://bugs.kde.org/show_bug.cgi?id=522138

            Bug ID: 522138
           Summary: qml: Calling closeDialog is deprecated. Use
                    Kirigami.PageStack.closeDialog instead.
    Classification: Applications
           Product: Plasma Mobile Phonebook
      Version First unspecified
       Reported In:
          Platform: Debian testing
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION
While preparing Debian package for plasma-phonebook_26.04.2 , I've noticed an
interesting line in the console log

qml: Calling closeDialog is deprecated. Use Kirigami.PageStack.closeDialog
instead.

I see that closeDialog is called only inside src/qml/AddContactPage.qml , then
this could be an easy-enough task that I could also fix this myself. Reporting
it here as a reminder, feel free to fix it before I do


mobian@mobian:~$ plasma-phonebook 
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
qrc:/qt/qml/org/kde/phonebook/BottomDrawer.qml:69:9: QML Separator: Detected
anchors on an item that is managed by a layout. This is undefined behavior; use
Layout.alignment instead.
qrc:/qt/qml/org/kde/phonebook/BottomDrawer.qml:42: ReferenceError:
headerContentItem is not defined
qrc:/qt/qml/org/kde/phonebook/ActionButton.qml:45: ReferenceError:
highlightBackground is not defined
qrc:/qt/qml/org/kde/phonebook/ActionButton.qml:52: ReferenceError:
highlightBorder is not defined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/kirigami/PageRow.qml:997:9:
QML QQuickItem*: StackView has detected conflicting anchors. Transitions may
not execute properly.
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:354: ReferenceError: birthday
is not defined
qml: Calling closeDialog is deprecated. Use Kirigami.PageStack.closeDialog
instead.
file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/kirigami/PageRow.qml:997:9:
QML QQuickItem*: StackView has detected conflicting anchors. Transitions may
not execute properly.
qrc:/qt/qml/org/kde/phonebook/BottomDrawer.qml:69:9: QML Separator: Detected
anchors on an item that is managed by a layout. This is undefined behavior; use
Layout.alignment instead.
qrc:/qt/qml/org/kde/phonebook/BottomDrawer.qml:42: ReferenceError:
headerContentItem is not defined
qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:230:9: QML
QQuickImage: Failed to get image from provider:
image://kpeople-avatar/dmNhcmQ6Ly9ob21lL21vYmlhbi8ubG9jYWwvc2hhcmUva3Blb3BsZXZjYXJkL293bi9jb250YWN0ICgxKS52Y2FyZA==#3945249678
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:230:9: QML
QQuickImage: Failed to get image from provider:
image://kpeople-avatar/dmNhcmQ6Ly9ob21lL21vYmlhbi8ubG9jYWwvc2hhcmUva3Blb3BsZXZjYXJkL293bi9jb250YWN0ICgxKS52Y2FyZA==#3621873843
qrc:/qt/qml/org/kde/phonebook/DetailPage.qml:21:1: QML DetailPage: Created
graphical object was not placed in the graphics scene.
kf.coreaddons: The plugin
"/usr/lib/x86_64-linux-gnu/qt6/plugins/kpeople/actions/phonebook_kpeople_plugin.so"
explicitly states an Id in the embedded metadata, which is different from the
one derived from the filename The Id field from the KPlugin object in the
metadata should be removed
qrc:/qt/qml/org/kde/phonebook/DoubleActionButton.qml:131:9: Unable to assign
[undefined] to QQuickAbstractButton::Display
qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:230:9: QML
QQuickImage: Failed to get image from provider:
image://kpeople-avatar/dmNhcmQ6Ly9ob21lL21vYmlhbi8ubG9jYWwvc2hhcmUva3Blb3BsZXZjYXJkL293bi9jb250YWN0ICgxKS52Y2FyZA==#1182542810
qrc:/qt/qml/org/kde/phonebook/DetailPage.qml:108:13: QML QQuickImage: Failed to
get image from provider:
image://kpeople-avatar/dmNhcmQ6Ly9ob21lL21vYmlhbi8ubG9jYWwvc2hhcmUva3Blb3BsZXZjYXJkL293bi9jb250YWN0ICgxKS52Y2FyZA==#3807236864
qrc:/qt/qml/org/kde/phonebook/BottomDrawer.qml:69:9: QML Separator: Detected
anchors on an item that is managed by a layout. This is undefined behavior; use
Layout.alignment instead.
qrc:/qt/qml/org/kde/phonebook/DetailPage.qml:21:1: QML DetailPage: Created
graphical object was not placed in the graphics scene.
kf.coreaddons: The plugin
"/usr/lib/x86_64-linux-gnu/qt6/plugins/kpeople/actions/phonebook_kpeople_plugin.so"
explicitly states an Id in the embedded metadata, which is different from the
one derived from the filename The Id field from the KPlugin object in the
metadata should be removed
qrc:/qt/qml/org/kde/phonebook/DoubleActionButton.qml:131:9: Unable to assign
[undefined] to QQuickAbstractButton::Display
qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:230:9: QML
QQuickImage: Failed to get image from provider:
image://kpeople-avatar/dmNhcmQ6Ly9ob21lL21vYmlhbi8ubG9jYWwvc2hhcmUva3Blb3BsZXZjYXJkL293bi9jb250YWN0ICgxKS52Y2FyZA==#1800492887
qrc:/qt/qml/org/kde/phonebook/DetailPage.qml:108:13: QML QQuickImage: Failed to
get image from provider:
image://kpeople-avatar/dmNhcmQ6Ly9ob21lL21vYmlhbi8ubG9jYWwvc2hhcmUva3Blb3BsZXZjYXJkL293bi9jb250YWN0ICgxKS52Y2FyZA==#2891035646
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/kirigami/PageRow.qml:997:9:
QML QQuickItem*: StackView has detected conflicting anchors. Transitions may
not execute properly.
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qml: Calling closeDialog is deprecated. Use Kirigami.PageStack.closeDialog
instead.
file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/kirigami/PageRow.qml:997:9:
QML QQuickItem*: StackView has detected conflicting anchors. Transitions may
not execute properly.
qrc:/qt/qml/org/kde/phonebook/BottomDrawer.qml:69:9: QML Separator: Detected
anchors on an item that is managed by a layout. This is undefined behavior; use
Layout.alignment instead.
qrc:/qt/qml/org/kde/phonebook/BottomDrawer.qml:42: ReferenceError:
headerContentItem is not defined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/kirigami/PageRow.qml:997:9:
QML QQuickItem*: StackView has detected conflicting anchors. Transitions may
not execute properly.
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qml: Calling closeDialog is deprecated. Use Kirigami.PageStack.closeDialog
instead.
file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/kirigami/PageRow.qml:997:9:
QML QQuickItem*: StackView has detected conflicting anchors. Transitions may
not execute properly.
qrc:/qt/qml/org/kde/phonebook/BottomDrawer.qml:69:9: QML Separator: Detected
anchors on an item that is managed by a layout. This is undefined behavior; use
Layout.alignment instead.
qrc:/qt/qml/org/kde/phonebook/BottomDrawer.qml:42: ReferenceError:
headerContentItem is not defined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/kirigami/PageRow.qml:997:9:
QML QQuickItem*: StackView has detected conflicting anchors. Transitions may
not execute properly.
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qml: Calling closeDialog is deprecated. Use Kirigami.PageStack.closeDialog
instead.
file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/kirigami/PageRow.qml:997:9:
QML QQuickItem*: StackView has detected conflicting anchors. Transitions may
not execute properly.
qrc:/qt/qml/org/kde/phonebook/BottomDrawer.qml:69:9: QML Separator: Detected
anchors on an item that is managed by a layout. This is undefined behavior; use
Layout.alignment instead.
qrc:/qt/qml/org/kde/phonebook/BottomDrawer.qml:42: ReferenceError:
headerContentItem is not defined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/AddContactPage.qml:435: TypeError: Cannot read
property 'contentHeight' of undefined
qrc:/qt/qml/org/kde/phonebook/DetailPage.qml:21:1: QML DetailPage: Created
graphical object was not placed in the graphics scene.
kf.coreaddons: The plugin
"/usr/lib/x86_64-linux-gnu/qt6/plugins/kpeople/actions/phonebook_kpeople_plugin.so"
explicitly states an Id in the embedded metadata, which is different from the
one derived from the filename The Id field from the KPlugin object in the
metadata should be removed
qrc:/qt/qml/org/kde/phonebook/DoubleActionButton.qml:131:9: Unable to assign
[undefined] to QQuickAbstractButton::Display
qrc:/qt/qml/org/kde/kirigamiaddons/components/Avatar.qml:230:9: QML
QQuickImage: Failed to get image from provider:
image://kpeople-avatar/dmNhcmQ6Ly9ob21lL21vYmlhbi8ubG9jYWwvc2hhcmUva3Blb3BsZXZjYXJkL293bi9jb250YWN0ICgxKS52Y2FyZA==#980457336
qrc:/qt/qml/org/kde/phonebook/DetailPage.qml:108:13: QML QQuickImage: Failed to
get image from provider:
image://kpeople-avatar/dmNhcmQ6Ly9ob21lL21vYmlhbi8ubG9jYWwvc2hhcmUva3Blb3BsZXZjYXJkL293bi9jb250YWN0ICgxKS52Y2FyZA==#2948887119

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to