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

QOrbitCameraController: key release and focus lost

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.12.0
    • Qt3D
    • None
    • OS: Windows 10
      Toolchain: Desktop_Qt_5_12_0_MSVC2017_32bit
    • Windows

      When using QOrbitCameraController, If Qt3DWindow loses the focus when a key is pressed, key release event seems not to be handled.

       

      Steps to reproduce:

      • Open example "Qt 3D: Simple C++ Example"
      • Replace
        camController->setLinearSpeed( 50.0f );

        by

       

      camController->setLinearSpeed( 1.0f );

       

      • Keep the key Left arrow pressed
      • Right click on the title menu of the window (Or any other actions that lead to a focus lost).
      • Release the key Left arrow

       

      => The camera moves forever, you need to press again on Left arrow to stop it.

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

            seanharmer Sean Harmer
            ogaca ogaca
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes