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

Custom3DLabel absolute position and scaling bugs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.9.0 FF
    • 6.8.0
    • Graphs: 3D
    • None
    • All
    • 1ebc1fd63 (dev)

    Description

      • With "positionAbsolute" property set to true, in vector assigned to "position" property X and Z values of 1.0 do not translate to the end of X and Z axes. Y coordinate works as expected and 1.0 means the end of Y axis.
      • Changing "scaling" property brings no effect.

      Collective minimal reproducible example:

      import QtQuick
      import QtGraphs
      
      Window {
        id: root
        width: 1280
        height: 960
        visible: true
        title: qsTr("Graphs 3D - Bar Graph")
      
        Custom3DLabel {
          id: label
          text: "3DLabel text"
          facingCamera: true
          positionAbsolute: true
          position: Qt.vector3d(1.0, 1.0, 1.0)
          scaling: Qt.vector3d(0.6, 0.6, 0.6)
        }
      
        Bars3D {
          id: barGraph
          anchors.fill: parent
      
          Component.onCompleted: {
            addCustomItem(label)
          }
        }
      }
      

      Attachments

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

        Activity

          People

            tokorpip Tomi Korpipää
            bartoszrudzki Bartosz Rudzki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes