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

Missing QScreen::grabWindow() support

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.0.2
    • QPA: Wayland
    • None
    • 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

              davidedmundson David Edmundson
              metz Stefan Gehn (Inactive)
              Votes:
              9 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes