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

Missing QScreen::grabWindow() support

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.0.2
    • QPA: Wayland
    • None
    • Qt 5.0.2, Wayland, Montavista Linux, ARM

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes