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

QML Video Example: App Freezes when rotating screen in "Multi" Mode and Clicking on Camera

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.4
    • None
    • Android

    Description

      Description:-

      In the QML Video example, when running the application on Android, if the screen is rotated while in Multi-Mode and the user clicks on the Camera, the app freezes, rendering it unresponsive.

      Logs:-

      W libqmlvideo_arm64-v8a.so: qrc:/qml/qmlvideo/SceneMulti.qml:118:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
      W CameraManagerGlobal: ignore the torch status update of camera: 2
      W CameraManagerGlobal: ignore the torch status update of camera: 3
      W CameraManagerGlobal: ignore the torch status update of camera: 4
      V CameraManager: isNormalCamera packageName = org.qtproject.example.qmlvideo
      V CameraManager: isTopActivity
      I CameraManager: isTopActivity: pkgname: org.qtproject.example.qmlvideo
      V CameraManager: isNormalCamera isTopActivity true
      V CameraManager: sendOpenCameraBroadCast isNormalCamera = true
      V CameraManager: sendStartPreviewBroadCast
      V CameraDevice-JV-0: mIsNormalCamera true isNormalCamera true
      I BufferQueue: [unnamed-7871-0](this:0x7745a7c000,id:0,api:0,p:-1,c:-1) BufferQueue core=(7871:org.qtproject.example.qmlvideo)
      E libc    : Access denied finding property "vendor.debug.sf.stc_interval"
      W qtMainLoopThrea: type=1400 audit(0.0:170022): avc: denied { read } for name="u:object_r:graphics_debug_prop:s0" dev="tmpfs" ino=463 scontext=u:r:untrusted_app:s0:c177,c258,c512,c768 tcontext=u:object_r:graphics_debug_prop:s0 tclass=file permissive=0
      W qtMainLoopThrea: type=1400 audit(0.0:170023): avc: denied { read } for name="u:object_r:debug_bq_dump_prop:s0" dev="tmpfs" ino=422 scontext=u:r:untrusted_app:s0:c177,c258,c512,c768 tcontext=u:object_r:debug_bq_dump_prop:s0 tclass=file permissive=0
      E libc    : Access denied finding property "vendor.debug.bq.dump"
      I BufferQueueConsumer: [unnamed-7871-0](this:0x7745a7c000,id:0,api:0,p:-1,c:7871) connect(C): consumer=(7871:org.qtproject.example.qmlvideo) controlledByApp=true
      W qtMainLoopThrea: type=1400 audit(0.0:170024): avc: denied { read } for name="u:object_r:debug_bq_dump_prop:s0" dev="tmpfs" ino=422 scontext=u:r:untrusted_app:s0:c177,c258,c512,c768 tcontext=u:object_r:debug_bq_dump_prop:s0 tclass=file permissive=0
      E libc    : Access denied finding property "vendor.debug.bq.dump"
      I BufferQueueConsumer: [unnamed-7871-0](this:0x7745a7c000,id:0,api:0,p:-1,c:7871) setConsumerName: unnamed-7871-0
      E libc    : Access denied finding property "vendor.debug.bq.line"
      W qtMainLoopThrea: type=1400 audit(0.0:170025): avc: denied { read } for name="u:object_r:graphics_debug_prop:s0" dev="tmpfs" ino=463 scontext=u:r:untrusted_app:s0:c177,c258,c512,c768 tcontext=u:object_r:graphics_debug_prop:s0 tclass=file permissive=0
      E libc    : Access denied finding property "vendor.debug.bq.dump"
      I BufferQueueConsumer: [ImageReader-1920x1088f23m10-7871-0](this:0x7745a7c000,id:0,api:0,p:-1,c:7871) setConsumerName: ImageReader-1920x1088f23m10-7871-0
      E libc    : Access denied finding property "vendor.debug.bq.line" 

      Steps to Reproduce:

      1. Build and Run the QML Video Example on Android.
      2. click on "Multi" button under Video mode.
      3. rotate the screen to landscape.
      4. click "tap to start" in the middle window (this starts camera).

      Expected Results: The QML Video example should handle screen rotation seamlessly in Multi-Mode, and clicking on the Camera should not result in the app freezing.

      Actual Results: Rotating the screen in Multi-Mode and clicking on the Camera causes the application to freeze check the attached video.

      Attachments

        Issue Links

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

          Activity

            People

              qtandroidteam Qt Android Team
              alrizwan Alber Rizwan
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes