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

QWidget::stackUnder causes unnecessary repaint events.

    XMLWordPrintable

Details

    Description

      Let's say we have four widgets with opaque background and the same geometry in this stacking order:

      widget3 <- top
      widget2
      widget4
      widget1

      widget1->stackUnder(widget3) => repaint on widget3

      widget3 is unchanged and still on top, so the repaint is waste of time . See tst_QWidget::stackUnder QEXPECT_FAIL.

      Attachments

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

        Activity

          People

            sletta Gunnar Sletta
            bjnilsen Bjørn Erik Nilsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes