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

Unwanted warning "QQuickItem: Cannot set FocusScope once item has children and is in a window." shown in some examples and tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.2
    • Quick: 3D
    • None

      Examples and tests using the 2D-in-3D feature tend to print the following: "QQuickItem: Cannot set FocusScope once item has children and is in a window."

      For example, running the dynamictexture example we get

      QQuickItem: Cannot set FocusScope once item has children and is in a window.
      qt.quick.pointer: detected interleaved frame-sync and actual events
      

      Also visible in some of the autotests:

      C:\work\qtquick3d_rel_cmake\tests\auto\quick3d_visual\rendercontrol>build_dir\tst_qquick3drendercontrol.exe
      ********* Start testing of tst_RenderControl *********
      Config: Using QtTest library 6.2.0, Qt 6.2.0 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2019), windows 10
      PASS   : tst_RenderControl::initTestCase()
      PASS   : tst_RenderControl::cube()
      QWARN  : tst_RenderControl::textureSourceItem() QQuickItem: Cannot set FocusScope once item has children and is in a window.
      PASS   : tst_RenderControl::textureSourceItem()
      

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

            srutledg Shawn Rutledge
            lagocs Laszlo Agocs
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes