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

Android: QScreen grabWindow() returns null pixmap

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • 6.7
    • 6.7.0
    • QPA: Android
    • None
    • Android
    • 97625e84b (dev)

    Description

      When refactoring the platform windows for child window support, raster windows were changed to have their own surface instead of using the screen's surface, and to use OpenGL underneath. Due to this, the previous implementation for grabWindow() is no longer suitable, and we have regressed to not implement the method on Android platform screen -> returning a null QPixmap.

      Reading the git history for the method, it has only ever worked for raster (=widget) windows, and OpenGL ones have always returned a null QPixmap.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-118849
          # Subject Branch Project Status CR V

          Activity

            People

              qtandroidteam Qt Android Team
              tinjapaavoseppa Tinja Paavoseppä
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes