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

QBrush with custom pattern whithout Xrender, .does not work when painting on a QBitmap

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.6.3
    • 4.5.3, 4.6.0, 4.6.1
    • GUI: Painting
    • None
    • Linux 32/64
      X11
      gcc
    • 0d1e1f26cd9c29e960117e23c57a84055f1cc9e1

      On systems without Xrender or where Xrender have been disable, an application that paints on a QBitmap using a custom QBrush results in incorrect drawing/application termination, and the X error code:

      X Error: BadMatch (invalid parameter attributes) 8
      Major opcode: 62 (X_CopyArea)
      Resource id: 0x5000003

      The problem can be reproduce with the attached example, like this: QT_X11_NO_XRENDER=1 ./app

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

            kjernase Trond Kjernåsen (Inactive)
            stromme Christian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes