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

Setting cached property of QtGraphicalEffects InnerShadow causes visual corruption

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.0.0 Beta 1
    • None
    • Ubuntu 12.04 LTS.

    Description

      If you set the cached property of the QtGraphicalEffects InnerShadow element to true, visual corruption occurs. For instance:

      Rectangle {
          color: "white"
      
          InnerShadow {
              anchors.fill: parent
              radius: 16
              spread: 0
              samples: 32
              horizontalOffset: 0
              verticalOffset: 10
              color: "#1F1F1F"
              source: parent
              cached: true // Setting this to true causes visual corruption
          }
      }
      

      I have attached screenshots that show the output with cached set to true and false.

      Attachments

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

        Activity

          People

            martinj Martin Jones
            fonzi337 Alfonso Chartier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes