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

Transparent QML Window not transparent on macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 5.15.6
    • None
    • Qt: 5.15.6

      macOS: 11.6 (Big Sur)

      HW: Macbook Pro 13" (2.5ghz Dual Core i7 with Intel Iris Plus Graphics 640)
    • macOS

    Description

      Hi,

      QML frameless Window that has the color set to transparent will not become transparent on macOS (Win10 works).

      Simple repo case: https://github.com/b0bben/qt_bug_transparent_window

      Expected behaviour:

      When Window is created in qml file with

      flags: Qt.Window | Qt.FramelessWindowHint
      color: "#00000000"

      it should become transparent and without title bar.

       

      Actual behaviour:

      Window is not transparent, rather some kind of gray color instead.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            b0bben Bob Jelica
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes