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

QScreenCapture does not go inactive if user cancels capture using system UI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.9
    • Multimedia
    • Android

      On Android, when there is an on-going capture-session using QScreenRecorder, the user will have a small icon in their status bar saying there is an on-going screen-capture. Additionally, there is a button in the Android system "quick settings" menu (when dragging down the status bar) that allows the user to stop this capture.

      If the user does this, there is no response in the Qt QScreenCapture API. The 'active' property will still be set to true, and no error signals will be emitted. There is no way for a Qt application developer to tell that the user has stopped the capture-session.

      What do you expect to happen:
      I expect that an error signal will be emitted with a suitable error code, and the 'active' property should be set to false.

      This issue has been observed on the following devices:

      • Motorola Razr 40 Ultra, running Android 15

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

            qtmultimediateam Qt Multimedia Team
            npskalerud Nils Petter Skålerud
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes