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

onImageCaptured/onCaptureFailed differs from 5.5.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.6.2
    • 5.5.1
    • Multimedia
    • None
    • Android 5.1, Nexus 6
    • Android
    • 4f93cd5a7673b5683b12d55c65852e12d556a372

      We use the preview from onImageCaptured. We take two images back-to back, one without flash, one with flash. We set the capture destination to a nonsensical location like "/dummy.jpg" because we do not care about the full-size image. Under 5.5.0 and previous versions we were able to request the capture and get both previews as expected, then get the failed handler. Under 5.5.1, in Android only, we no longer get the second preview, it just goes straight to the onCaptureFailed.
      Building against 5.5.0 we get the behavior we expect.

      5.5.0:

      // request capture 1
      onImageCaptured(preview) // image://camera/preview_1
      onCaptureFailed() 
      // request capture 2
      onImageCaptured(preview) // image://camera/preview_2
      onCaptureFailed()
      

      5.5.1:

      // request capture 1
      onImageCaptured(preview) // image://camera/preview_1
      onCaptureFailed() 
      // request capture 2
      onCaptureFailed() 
      

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

            ylopes Yoann Lopes
            scorp1us Jason Hihn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes