Unblacklist tst_QGraphicsProxyWidget::windowOpacity on macOS

Setting the opacity on an NSWindow does not result in a paint event.

Change-Id: I6d2780191ba97082f7ca80e2aa1094ccf796fb75
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 3d1ec9ee94bac4222637bc9791ffc4d051c08fbd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Tor Arne Vestbø 2024-09-18 15:56:10 +02:00 committed by Qt Cherry-pick Bot
parent 964b16e6d3
commit 3c6618b0f0
2 changed files with 1 additions and 6 deletions

View File

@ -1,8 +1,6 @@
[scrollUpdate]
android
b2qt
[windowOpacity]
macos ci
[wheelEventPropagation]
android
[forwardTouchEvent]

View File

@ -2609,11 +2609,8 @@ void tst_QGraphicsProxyWidget::windowOpacity()
// and not on the widget or the proxy itself. The entire proxy needs an update
// in case it has a window decoration. Update: QGraphicsItem::CacheMode is
// disabled on platforms without alpha channel support in QPixmap (e.g.,
// X11 without XRender). On macOS, we always get a paint event.
// X11 without XRender).
int paints = 0;
#ifdef Q_OS_MACOS
paints = 1;
#endif
QTRY_COMPARE(eventSpy.counts[QEvent::UpdateRequest], 0);
QTRY_COMPARE(eventSpy.counts[QEvent::Paint], paints);