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

Offseted picking using Qt3D ObjectPicker in a Scene3D within a Dialog

XMLWordPrintable

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

      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.

       

       

        1. picking with dialog.png
          picking with dialog.png
          12 kB
        2. Qt109038.zip
          2 kB
        3. main.qml
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:

                There are no open Gerrit changes