Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
6.5.0
-
None
-
bf0f1fa7d (dev), 87fdd0cf8 (6.5), fd56ad806 (dev), 941fb88d0 (6.6), 5a85af7e0 (6.5)
Description
I was migrating all the projects I've been working on from Qt5 to Qt6 to take advantage of the new Material 3 implementation in Qt Quick Controls, when I realized that all my splash screens and all the custom window decorations (rounded corners or translucid title bars) are broken.
Check and run this simple example with the qml tool. At least on Microsoft Windows, the alpha channel is not respected anymore when used as window color:
import QtQuick.Controls ApplicationWindow { width: 200 height: 200 visible: true flags: Qt.SplashScreen | Qt.WindowStaysOnTopHint color: "transparent" // this doesn't work in Qt 6.5.0 }
I've tried other flags and changing the color (e.g. #00FF0000) without success. It still shows a 200x200 semitransparent rectangle.
Attachments
Issue Links
- duplicates
-
QTBUG-112473 Background of splash screen of QtQuick example Window and Screen is not transparent
-
- Closed
-
- relates to
-
QTBUG-109603 Window transparency doesn't work
-
- Closed
-
-
QTBUG-112473 Background of splash screen of QtQuick example Window and Screen is not transparent
-
- Closed
-
-
QTBUG-112524 The Color Property of Window is no Effect
-
- Closed
-