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

[REG 6.7.3-6.8.0] MultiEffect with shadowOpacity looks different than before

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.8.1
    • 6.8.0
    • None
    • All
    • 711bb5ab2 (dev), d011f0cbe (6.8), 61082ccca (dev), 1070d344a (6.8)

    Description

      With Qt 6.8.0 MultiEffect with shadowOpacity looks different than it was before on Qt 6.7.3.

      Code sample:

      import QtQuick
      import QtQuick.Effects
      
      Window {
          width: 300
          height: 300
          visible: true
      
          component Shadow: MultiEffect {
              shadowEnabled: true
              shadowHorizontalOffset:12
              shadowVerticalOffset: 12
              blurMax: 32
          }
      
          Rectangle {
              x: 20
              y: 20
              width: 100
              height: 100
              border.width: 1
      
              layer.enabled: true
              layer.effect: Shadow {}
          }
      
          Rectangle {
              x: 150
              y: 150
              width: 100
              height: 100
              border.width: 2
      
              layer.enabled: true
              layer.effect: Shadow {
                  shadowOpacity: 0.2
              }
          }
      }
      

      Result:
      Qt 6.7.3

      Qt 6.8.0

       

      I.e. on Qt 6.8.0 shadows with a small shadowOpacity value became now almost invisible.

      Attachments

        Issue Links

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

          Activity

            People

              kagro Kaj Grönholm
              studiosus Vladimir Belyavsky
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes