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

QML Camera - setting zoomFactor does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.2.9, 6.5.2, 6.6.0
    • 6.3.1
    • Multimedia
    • None
    • Android, iOS/tvOS/watchOS
    • 54464a09a (dev), ab0bdd7ee (6.5), 4672ca24b (tqtc/lts-6.2), 3db83d821 (dev), 72b9dd1d0 (6.5)
    • 2023wk18FOQtforAndroid, 2023wk20FOQtforAndroid, 2023wk22FOQtforAndroid

    Description

      Repeatable with the 6.3.1 declarative-camera example. ZoomControl in PhotoCaptureControls.qml wrongly calls 

      onZoomTo: camera.setDigitalZoom(value)
      

      which in Qt6 should be

      onZoomTo:(value) => camera.zoomFactor = value
      

      Even with the corrected code the value of zoomFactor remains at 1.

       

       

      Attachments

        Issue Links

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

          Activity

            People

              bartlomiejmoskal Bartlomiej Moskal
              niallfraser Niall Fraser
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews