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

[CameraCapture] onImageCaptured signal is not emitted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 5.6.1, 5.7.0
    • Multimedia
    • None
    • Mac OS 10.11, Android

    Description

      Hello,

      I found a strange issue with the Camera module in QtMultiMedia . Sometimes the onImageCaptured signal is not emitted. When this happen, it won't report any error message. But you can't take another photo. If you call Camera.stop(), it won't response and cameraStatus will never be changed.

      I found this problem with Qt 5.6/5.7 in Mac OS 10.11 (Mac Book Air) and 5.7 in Android. Qt 5.5 is seem to be fine.

      I have attached an example program to reproduce the problem.

      Step to reproduce

      1. Launch the program.

      2. Press "Start"

      Then it will auto capture image. It will show a counter of number of photo taken. It will stop until the onImageCaptured is not emitted any more. In Mac Mac OS 10.11 (Mac Book Air), sometimes it may stop once after few try. But sometimes it may take 30~50 times.

      p.s The example program can not be used in Android. The behaviour is different. I will attend another one upon request.

      Attachments

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

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            benlau Ben Lau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes