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

Offseted picking using Qt3D ObjectPicker in a Scene3D within a Dialog

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.4.0
    • Qt3D
    • None
    • Linux/X11

    Description

      In a scene using an object picker while the Scene3D is inside a Dialog, the picking is done with an offset.

      Capturing a click on an object requires to click to the left and over the actual object. The observed offset is proportional to the thickness of the boundary of the dialog. Its position in X and Y seem to have an effect too as if a translation between the top left corner of the window and the Scene3D is ignored. If this offset get too large, it seem to wrap around as well. Putting the Scene3D outside the dialog works fine.

       

       

      Attachments

        1. main.qml
          2 kB
        2. picking with dialog.png
          picking with dialog.png
          12 kB
        3. Qt109038.zip
          2 kB

        Activity

          People

            seanharmer Sean Harmer
            jplajoiedorval Jean-Philippe Lajoie Dorval
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: