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

QPermission is not synced to parent process when permission request is triggered from child process

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.5.2
    • Core: Other, WebEngine
    • None
    • MacOS Ventura 13.5
      MacBook Pro M1
    • macOS

    Description

      Permissions which provided by webengineview are not detected in QPermission(QCoreApplication::checkPermission)

      Added simple example for QCameraPermission
      webengineview asks WebEngineView.MediaVideoCapture permissions
      by timer every seconds interogated QCoreApplication::checkPermission(QCameraPermission())

      QCameraPermission::status - Qt::PermissionStatus::Undetermined

      After application restart QCameraPermission::status - Qt::PermissionStatus::Granted

      Attachments

        1. PermissionsTest.zip
          7 kB
        2. testCameraPermission.zip
          10 kB
        3. testPermission.zip
          9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vestbo Tor Arne Vestbø
            evgenpervenenko Evgen Pervenenko
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes