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

Missing QScreen::grabWindow() support

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.0.2
    • Fix Version/s: None
    • Component/s: QPA: Wayland
    • Labels:
      None
    • Environment:
      Qt 5.0.2, Wayland, Montavista Linux, ARM

      Description

      Calling QScreen::grabWindow() when using the wayland platform plugin results in an empty QPixmap. The default implementation of QPlatformScreen::grabWindow() is essentially a no-op and QWaylandScreen lacks an implementation.

      It would be very helpful if grabbing of QWindows in Wayland is possible to allow taking screenshots of QtQuick scenes exactly like they appear on screen.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              metz Stefan Gehn
              Votes:
              7 Vote for this issue
              Watchers:
              14 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes