Overlay sets opacity, so it is being overridden: http://code.qt.io/cgit/qt/qtquickcontrols2.git/tree/src/quicktemplates2/qquickoverlay.cpp#n59
Maybe we could give control of animating visibility changes to the user somehow, so that the animation would be done in the modal delegate? The current behaviour should probably be documented though. ________________________________________ From: Interest <interest-bounces+mitch.curtis=qt...@qt-project.org> on behalf of Oleg Evseev <ev.m...@gmail.com> Sent: Tuesday, 14 March 2017 5:25:52 PM To: Qt Project Subject: [Interest] ApplicationWindow overlay item opacity aspects Hi, Trying to change modal popups dim color using overlay property of ApplicationWindow, I wonder why opacity with this one not works (dim background is solid black): overlay.modal: Rectangle { color: "black" opacity: 0.2 } Only this one works: overlay.modal: Rectangle { color: "#33000000" //opacitiy 0.2 } Is it a bug or a feature of overlay z-position? Thanks in advance for explanations. --- With regards, Oleg _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest