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

a toplevel window with Qt::WA_PaintOnScreen attribute still need backing store

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.7.0
    • GUI: Painting
    • None
    • Ubuntu 9.10

      This code will create backing store for a toplevel window including it has Qt::WA_PaintOnScreen attribute:
      // a real toplevel window needs a backing store
      if (isWindow() && windowType() != Qt::Desktop)

      { d->topData()->backingStore.destroy(); if (hasBackingStoreSupport()) d->topData()->backingStore.create(this); }

      If modify it to:
      if (isWindow() && windowType() != Qt::Desktop)

      { d->topData()->backingStore.destroy(); if (hasBackingStoreSupport() && !testAttribute(Qt::WA_PaintOnScreen)) d->topData()->backingStore.create(this); }

      Some widgets can't work properly.

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

            sletta Gunnar Sletta
            luohua luohua
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes