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

QX11PixmapData::transformed does not set serialNumber

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 4.6.1
    • 4.6.0
    • GUI: Painting
    • None
    • eb94abb952114e826e02ba4562d9048e77f46644

    Description

      QX11PixmapData::transformed does not initialize the new QX11PixmapData object with a serial number.

      — a/src/gui/image/qpixmap_x11.cpp
      +++ b/src/gui/image/qpixmap_x11.cpp
      @@ -1932,6 +1932,8 @@ QPixmap QX11PixmapData::transformed(const QTransform &transform,
      x11Data->hd = (Qt::HANDLE)XCreatePixmap(X11->display,
      RootWindow(X11->display, xinfo.screen()),
      w, h, d);
      + x11Data->setSerialNumber(++qt_pixmap_serial);
      +
      #ifndef QT_NO_XRENDER
      if (X11->use_xrender) {
      XRenderPictFormat *format = x11Data->d == 32

      Attachments

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

        Activity

          People

            rweather Rhys Weatherley (closed Nokia identity) (Inactive)
            rve Anders Bakken
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes