Merge "Merge remote-tracking branch 'origin/5.12' into dev" into refs/staging/dev

This commit is contained in:
Liang Qi 2018-09-25 19:02:26 +00:00 committed by The Qt Project
commit afb2619d76
10 changed files with 32 additions and 2 deletions

View File

@ -3388,6 +3388,7 @@ bool QApplication::notify(QObject *receiver, QEvent *e)
tablet->tangentialPressure(), tablet->rotation(), tablet->z(),
tablet->modifiers(), tablet->uniqueId(), tablet->button(), tablet->buttons());
te.spont = e->spontaneous();
te.setAccepted(false);
res = d->notify_helper(w, w == receiver ? tablet : &te);
eventAccepted = ((w == receiver) ? tablet : &te)->isAccepted();
e->spont = false;

View File

@ -1044,6 +1044,7 @@ void QWidgetWindow::handleTabletEvent(QTabletEvent *event)
event->pressure(), event->xTilt(), event->yTilt(), event->tangentialPressure(),
event->rotation(), event->z(), event->modifiers(), event->uniqueId(), event->button(), event->buttons());
ev.setTimestamp(event->timestamp());
ev.setAccepted(false);
QGuiApplication::forwardEvent(widget, &ev, event);
event->setAccepted(ev.isAccepted());
}

View File

@ -1,2 +1,3 @@
[deleteChildrenWithRunningGroup]
osx-10.12
osx-10.13

View File

@ -6,3 +6,4 @@ osx-10.13
windows
[frameRate]
osx-10.12
osx-10.13

View File

@ -0,0 +1,4 @@
[focusObject]
opensuse
opensuse-leap
ubuntu

View File

@ -2,5 +2,3 @@ CONFIG += testcase
TARGET = tst_qcolordialog
QT += widgets testlib
SOURCES += tst_qcolordialog.cpp
linux*: CONFIG += insignificant_test # Crashes on different Linux distros

View File

@ -84,6 +84,9 @@ void tst_QColorDialog::testNativeActiveModalWidget()
// Check that QApplication::activeModalWidget retruns the
// color dialog when it is executing, even when using a native
// dialog:
#if defined(Q_OS_LINUX)
QSKIP("This test crashes sometimes. Although rarely, but it happens. See QTBUG-50842.");
#endif
TestNativeDialog d;
QTimer::singleShot(1000, &d, SLOT(hide()));
d.exec();
@ -121,6 +124,9 @@ void tst_QColorDialog::testGetRgba()
void tst_QColorDialog::defaultOkButton()
{
#if defined(Q_OS_LINUX)
QSKIP("This test crashes sometimes. Although rarely, but it happens. See QTBUG-50842.");
#endif
QTimer::singleShot(4000, qApp, SLOT(quit()));
QTimer::singleShot(0, this, SLOT(testGetRgba()));
qApp->exec();

View File

@ -0,0 +1,3 @@
[prepareGeometryChangeInvalidateCache]
opensuse
opensuse-leap

View File

@ -3,3 +3,15 @@
osx-10.11 ci
[isActive]
opensuse-42.3 ci
[removeFullyTransparentItem]
osx-10.11
osx-10.12
[tabFocus_sceneWithNestedFocusWidgets]
opensuse
opensuse-leap
[inputMethod]
opensuse
opensuse-leap
[hoverEvents_parentChild]
ubuntu

View File

@ -0,0 +1,3 @@
[stretchAndRestoreLastSection]
opensuse
opensuse-leap