Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-120573

[REG 6.6->6.7] TypeError: Property 'onDownPressed' of object QQuickKeysAttached(...) is not a function

    XMLWordPrintable

Details

    • 03ac6a099 (dev), b25d199a5 (6.7)

    Description

      Cannot manually call signal handler `Keys.onDownPressed`

       

      Compile and run the attached qml.

      Press Down, note that "Down Pressed" is shown in console

      Press Left, note that "Left Pressed" is shown in console, but "Down Pressed" is not shown. There is also the error message

      qrc:/qt/qml/qt-onDownPressed/Main.qml:17: TypeError: Property 'onDownPressed' of object QQuickKeysAttached(0x55aceb6ac270) is not a function

       

      Attachments

        1. Main.qml
          0.4 kB
          Yifan Zhu
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ulherman Ulf Hermann
            fanzhuyifan Yifan Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes