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

          Activity

            People

              qt.team.graphics.and.multimedia Qt Graphics Team
              metz Stefan Gehn (Inactive)
              Votes:
              8 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated: