Skip tst_QMenu::pushButtonPopulateOnAboutToShow on macOS
The combobox popup can overlap a little with the button, and that's the expected behavior. Change-Id: I245bfce85cb5ee661ceb51dbe0d844492878a2bc Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>bb10
parent
eb2a7738a4
commit
b7a56ea3ee
|
|
@ -1066,6 +1066,10 @@ static inline QByteArray msgGeometryIntersects(const QRect &r1, const QRect &r2)
|
|||
|
||||
void tst_QMenu::pushButtonPopulateOnAboutToShow()
|
||||
{
|
||||
#ifdef Q_OS_MACOS
|
||||
QSKIP("Popup menus may partially overlap the button on macOS, and that's okey");
|
||||
#endif
|
||||
|
||||
QPushButton b("Test PushButton");
|
||||
b.setWindowFlags(Qt::FramelessWindowHint | Qt::X11BypassWindowManagerHint);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue