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

QPixmap::grabWindow fails to grab QGLWidget

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • Some future release
    • 4.4.0
    • GUI: OpenGL
    • None

    Description

      When grabbing a GLWidget using QPixmap::grabWindow() with glWidget::winId() it fails to grab , though if we use QPixmap::grabWidget() with glWidget it does.

      // This does not work
      QPixmap::grabWindow(glWidget->winId()).save( "glwidget.png", "PNG" ); //This does work
      QPixmap::grabWidget(glWidget).save( "glwidget2.png", "PNG" );

      This behavior is found on Window vista.

      Attachments

        Issue Links

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

          Activity

            People

              rodal Samuel Rødal
              smk smk
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes