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

QScreenCapture content picker dialog blocks UI thread

    XMLWordPrintable

Details

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

    Description

      When using QScreenCapture::start() to initiate a capture-session, our Android implementation will open up a system-dialog where the end-user has to select what content to capture. Commonly this means selecting either the entire display or a specific application.

      The problem is that the Qt UI thread is blocked while this dialog is open. For instance, we cannot run Timers in QML that do periodical work.

      Linux+Wayland has a similar setup with the content-picking dialog, but on Linux+Wayland this does not block the UI thread.

      What do you expect to happen:
      I expect the platforms to behave similarly. Ideally this means I will be able to keep the UI thread going while performing content-picking on Android.

      This behavior has been observed on the following devices:

      • Motorola Razr 40 Ultra, running Android 15
      • Samsung Galaxy Tab A8, running Android 14

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes