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

Qt Quick Calqlatr display cannot be moved by dragging the handle

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.6.2, 5.7.0, 5.8.0 Beta
    • Fix Version/s: 5.8.0
    • Component/s: Examples and Demos
    • Labels:
      None
    • Environment:
      Ubuntu 16.04 LTS and Android v4.4.4 using Qt 5.8.0 RC
    • Commits:
      19f9cf8d2e3d9116aa19b1f988fc5490247add4c

      Description

      The example's Display can be moved to the other side of the numberpad by dragging the handle. This behavior is broken as the example seem to be using an older version of the Item::mapToItem() function with only two parameters, item and mouseX coordinate. Whereas the more recent version of the function requires a third parameter, mouseY coordinate.

      warnings on the Creator console
      QML debugging is enabled. Only use this in a safe environment.
      qrc:///demos/calqlatr/calqlatr.qml:153: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      qrc:///demos/calqlatr/calqlatr.qml:144: TypeError: Type error
      

        Attachments

        For Gerrit Dashboard: QTBUG-57514
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            veshivas Venugopal Shivashankar
            Reporter:
            veshivas Venugopal Shivashankar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes