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

[REG 5.15.14->6.5.1]: Qt6 QML component Window setting property color: "transparent" doesn't make the Window transparent for Windows 11 and MacOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 6.5.1
    • Quick: Other
    • None
    • MacOS
      Windows 11
    • macOS, Windows
    • fd56ad806 (dev), 941fb88d0 (6.6), 5a85af7e0 (6.5)

    Description

      This is an issue I have noticed on Qt 6.5.1 on MacOS and on Windows 11, however it is not present in Ubuntu 22.

      The code is as follows:

      Window

      {          id: root      width: 640      height: 480      visible: true      *color: Qt.transparent* }

      or

      Window

      {          id: root      width: 640      height: 480      visible: true      *color: "transparent"* }

       

      For Windows 11 and for MacOS the window is either white or black but never transparent whereas for Ubuntu 22 using color: "transparent" it does make the windows transparent this is an issue in Qt 6.5.1.
      When I try it with Qt 5.15.14 this color: "transparent" works for Windows 11, have not tried it for Ubuntu 22 and MacOS.

       

      Based on this I assume this is an issue with Qt 6.5.1.

      Attachments

        Issue Links

          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
              d_poliigon Demjan Golubovski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes