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

Missing update when setting opacity on an item that had previously opacity 0.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.6.2
    • 4.6.0, 4.6.1
    • Widgets: GraphicsView
    • None
    • 37f1aec1a4e71a7102e8cd2e2908c8d3be7e29f5

    Description

      In some cases, there are missing updates when setting opacity (!= 0.0) to an item that had previously opaciy 0.0.
      This is due to the internal data structure, paintedViewBoundingRects, being set to (-1,-1,-1,-1), which means outside the viewport, when the item has opacity 0.0.
      Afterwards when you want to show the respective item by updating its opacity, the update is lost.

      Test case attached.

      Attachments

        Activity

          People

            lscunha Leonardo Sobral Cunha (Inactive)
            lscunha Leonardo Sobral Cunha (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: