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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes