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

Android: QScreen grabWindow() returns null pixmap

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes