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

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

      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.

        1. image-2024-10-25-15-49-46-986.png
          14 kB
          Vladimir Belyavsky
        2. image-2024-10-25-15-50-03-856.png
          16 kB
          Vladimir Belyavsky
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes