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

DropShadow won't work on piled window on Windows 7 which is using Intel GPU

    XMLWordPrintable

Details

    • Windows

    Description

      DropShadow won't work with Rectangle on piled window on macOS 10.14.6 and Windows which is Intel GPU. (It works on Windows with such as NVIDIA GTX 1060)

      If Windows which is used Intel HD Graphics (please see attached qtdiag.txt) does not affected even ANGLE and software rendering.

      Window {
          visible: true
          width: 640
          height: 480
          flags: Qt.Window |
                 Qt.FramelessWindowHint
      
          Rectangle {
              anchors.fill: parent
              color: "blue"
          }
      
          Window {
              id: win
              visible: true
              width: 320 + (60 * 2)
              height: 240 + (60 * 2)
              color: "transparent"
              modality: Qt.ApplicationModal
              flags: Qt.Window |
                     Qt.FramelessWindowHint
      
              Rectangle {
                  id: rect
                  anchors.fill: parent
                  anchors.margins: 60
                  color: "blue"
      
                  layer.enabled: true
                  layer.effect: DropShadow {
                      anchors.fill: rect
                      source: rect
                      horizontalOffset: 1
                      verticalOffset: 1
                      radius: 40
                      samples: 40
                      color: '#aa000000'
                  }
              }
          }
      }
      
      

      If Rectangle and DropShadow are put on singe Window, it works on any environment.

      Please check attached sample projects.

      Attachments

        1. macOS.png
          macOS.png
          115 kB
        2. qtbug78124.zip
          4 kB
        3. qtdiag.txt
          7 kB
        4. screenshot-1.png
          screenshot-1.png
          59 kB
        5. Screen Shot 2019-09-09 at 18.08.32.png
          Screen Shot 2019-09-09 at 18.08.32.png
          246 kB
        6. Windows-without-Intel.png
          Windows-without-Intel.png
          39 kB

        Issue Links

          Activity

            People

              qt.team.graphics.and.multimedia Qt Graphics Team
              akizawa Akihito Izawa
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: