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

Weird effect on MultiEffect and NumberAnimation

    XMLWordPrintable

Details

    • Linux/X11

    Description

      Have following item:

       

      Item {
          id: item
      
          MultiEffect {
              anchors.fill: item
              source: item
              shadowEnabled: true
              shadowColor: "#9B9B9B"
              shadowBlur: 1.0
              shadowHorizontalOffset: 8
              shadowVerticalOffset: 8
          }
      
          ProgressBar {
              background: Rectangle {
              }
              contentItem: Item {
                   Rectangle {
                   }
              }
      
              NumberAnimation on value {
                  running: item.visible
                  from: 0.0
                  to: 1.0
                  duration: dismissTimeout
                  onFinished: {
                  }
              } // NumberAnimation 
          }
      }

      Shadow on `MultiEffect` worked ok until I added `NumberAnimation` to the `ProgressBar.value` which is completely unrelated to it. After that shadow offsets increased in several times and other strange screen artefacts appeared.

      Original shadow:

      After animation added:

      Forced to switch to RectangularGlow for now which works fine with the animation.

       

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            alekseyka Aleksey Kontsevich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes