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

Support user input in 2D content in 3D

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 6.1
    • None
    • Quick: 3D
    • None
    • 5
    • a606f9835 (dev), c47b5af77 (6.5), 9a05dc520 (tqtc/lts-6.2)
    • Qt Quick 3D - Week 45/46, Qt Quick 3D - 51/52, Qt Quick 3D - 2021 - Weeks 1/2, Qt Quick 3D - 2021 - Weeks 3/4, Qt Quick 3D - 2021 - Weeks 5/6, Qt Quick 3D - 2021 - Weeks 7/8, Qt Quick 3D - 2021 Week 9 - 10, Qt Quick 3D - 2021 Week 11/12

      Currently it is possible to embedded 2D Qt Quick Items into 3D scenes, but there is no way to forward input events (keyboard, mouse, touch) to those items.  There are some challenges related to this:

      First the 2D items are rendered by Qt Quick, so we have limited information about the collision geometry (mesh) of these items.  That means that the items don't participate in the picking we currently have.  If they did those we would at least be able to tell where things were "touched".

      Second the way input events work in Qt Quick, it assumes that they are going through QQuickWindow.  The 2D items that live in 3D though are managed by the 3D scene manager though instead, so they will need special translation as well as some kind of proxying mechanism.

      Third, focus handling is going to be a challenge, just in general.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            janichol Andy Nichols
            janichol Andy Nichols
            Jarko Vihriälä Jarko Vihriälä
            Andy Nichols Andy Nichols
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: