Thread 1 (Thread 0x7fc9fa8a9740 (LWP 32404)): #0 EventFilter::eventFilter (this=0x22cb640, o=0x2302b30, e=0x7fff7c4b4cb0) at main.cpp:25 n = 2 t = QEvent::FocusIn __PRETTY_FUNCTION__ = "virtual bool EventFilter::eventFilter(QObject*, QEvent*)" #1 0x00007fc9f97f8456 in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0x227dea0, receiver=0x2302b30, event=0x7fff7c4b4cb0) at kernel/qcoreapplication.cpp:1012 obj = 0x22cb640 i = 1 __PRETTY_FUNCTION__ = "bool QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*)" #2 0x00007fc9f9e70ae2 in QApplicationPrivate::notify_helper (this=0x227dea0, receiver=0x2302b30, e=0x7fff7c4b4cb0) at kernel/qapplication.cpp:3466 consumed = false #3 0x00007fc9f9e70a97 in QApplication::notify (this=0x7fff7c4b6a50, receiver=0x2302b30, e=0x7fff7c4b4cb0) at kernel/qapplication.cpp:3456 d = 0x227dea0 __PRETTY_FUNCTION__ = "virtual bool QApplication::notify(QObject*, QEvent*)" res = false #4 0x00007fc9f97f8254 in QCoreApplication::notifyInternal (this=0x7fff7c4b6a50, receiver=0x2302b30, event=0x7fff7c4b4cb0) at kernel/qcoreapplication.cpp:935 threadData = 0x227e000 loopLevelCounter = {threadData = 0x227e000} result = false cbdata = {0x2302b30, 0x7fff7c4b4cb0, 0x7fff7c4b4c5f} d = 0x2379680 #5 0x00007fc9f9e63065 in QCoreApplication::sendEvent (receiver=0x2302b30, event=0x7fff7c4b4cb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237 No locals. #6 0x00007fc9f9e6ab3b in QApplicationPrivate::setFocusWidget (focus=0x2302b30, reason=Qt::OtherFocusReason) at kernel/qapplication.cpp:1701 in = { = {_vptr.QEvent = 0x7fc9f8bce850, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7fc9f9cf4b60, data = 0x7fc9f99e7f20, static_metacall = 0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 8, posted = 0, spont = 0, m_accept = 1, reserved = 3977}, m_reason = Qt::OtherFocusReason} that = {wp = {d = 0x236a090, value = 0x2302b30}} prev = 0x2366b70 #7 0x00007fc9f9eb6932 in QWidget::setFocus (this=0x2302b30, reason=Qt::OtherFocusReason) at kernel/qwidget.cpp:5998 prev = 0x2366b70 f = 0x2302b30 previousProxyFocus = 0x0 #8 0x00007fc9f9ea2d09 in QWidget::setFocus (this=0x2302b30) at ../../include/QtWidgets/../../src/widgets/kernel/qwidget.h:410 No locals. #9 0x00007fc9fa028a3a in QMdiSubWindowPrivate::setFocusWidget (this=0x23bd050) at widgets/qmdisubwindow.cpp:2041 FocusReason = 0 (MouseFocusReason) q = 0x2366b70 focusWidget = 0x2302b30 #10 0x00007fc9fa024060 in QMdiSubWindowPrivate::_q_processFocusChanged (this=0x23bd050, old=0x236a100, now=0x2366b70) at widgets/qmdisubwindow.cpp:967 q = 0x2366b70 #11 0x00007fc9fa02e93e in QMdiSubWindow::qt_static_metacall (_o=0x2366b70, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff7c4b5030) at .moc/moc_qmdisubwindow.cpp:111 _t = 0x2366b70 #12 0x00007fc9f983b4a2 in QMetaObject::activate (sender=0x7fff7c4b6a50, signalOffset=16, local_signal_index=0, argv=0x7fff7c4b5030) at kernel/qobject.cpp:3680 receiverInSameThread = true sw = {receiver = 0x2366b70, previousSender = 0x0, currentSender = {sender = 0x7fff7c4b6a50, signal = 16, ref = 1}, switched = true} callFunction = 0x7fc9fa02e81e receiver = 0x2366b70 method_relative = 6 c = 0x235f6e0 last = 0x23ea5c0 locker = {val = 140505456281376} connectionLists = {connectionLists = 0x22d1cf0} list = 0x23834e8 signal_index = 16 empty_argv = {0x0} currentThreadId = 0x7fc9fa8a9740 __PRETTY_FUNCTION__ = "static void QMetaObject::activate(QObject*, int, int, void**)" #13 0x00007fc9f983adc4 in QMetaObject::activate (sender=0x7fff7c4b6a50, m=0x7fc9fa668480, local_signal_index=0, argv=0x7fff7c4b5030) at kernel/qobject.cpp:3546 No locals. #14 0x00007fc9f9e726a9 in QApplication::focusChanged (this=0x7fff7c4b6a50, _t1=0x236a100, _t2=0x2366b70) at .moc/moc_qapplication.cpp:229 _a = {0x0, 0x7fff7c4b5020, 0x7fff7c4b5018} #15 0x00007fc9f9e6abad in QApplicationPrivate::setFocusWidget (focus=0x2366b70, reason=Qt::MouseFocusReason) at kernel/qapplication.cpp:1705 prev = 0x236a100 #16 0x00007fc9f9eb6932 in QWidget::setFocus (this=0x2366b70, reason=Qt::MouseFocusReason) at kernel/qwidget.cpp:5998 prev = 0x236a100 f = 0x2366b70 previousProxyFocus = 0x0 #17 0x00007fc9f9e70e5a in QApplicationPrivate::giveFocusAccordingToFocusPolicy (widget=0x2366b70, event=0x7fff7c4b5a80, localPos=...) at kernel/qapplication.cpp:3782 f = 0x17c4b6550 setFocusOnRelease = false focusPolicy = Qt::ClickFocus focusWidget = 0x2366b70 #18 0x00007fc9f9e6e6d8 in QApplication::notify (this=0x7fff7c4b6a50, receiver=0x2366b70, e=0x7fff7c4b5a80) at kernel/qapplication.cpp:3012 w = 0x2366b70 mouse = 0x7fff7c4b5a80 eventAccepted = false relpos = {xp = 74, yp = 13} pw = {wp = {d = 0x2371c60, value = 0x2366b70}} d = 0x227dea0 __PRETTY_FUNCTION__ = "virtual bool QApplication::notify(QObject*, QEvent*)" res = false #19 0x00007fc9f97f8254 in QCoreApplication::notifyInternal (this=0x7fff7c4b6a50, receiver=0x2366b70, event=0x7fff7c4b5a80) at kernel/qcoreapplication.cpp:935 threadData = 0x227e000 loopLevelCounter = {threadData = 0x227e000} result = false cbdata = {0x2366b70, 0x7fff7c4b5a80, 0x7fff7c4b586f} d = 0x23bd050 #20 0x00007fc9f9e72e33 in QCoreApplication::sendSpontaneousEvent (receiver=0x2366b70, event=0x7fff7c4b5a80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:240 No locals. #21 0x00007fc9f9e6d529 in QApplicationPrivate::sendMouseEvent (receiver=0x2366b70, event=0x7fff7c4b5a80, alienWidget=0x2366b70, nativeWidget=0x7fff7c4b6a10, buttonDown=0x7fc9fa6b0a00, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2531 alienGuard = {wp = {d = 0x2371c60, value = 0x2366b70}} receiverGuard = {wp = {d = 0x2371c60, value = 0x2366b70}} nativeGuard = {wp = {d = 0x237f920, value = 0x7fff7c4b6a10}} activePopupWidget = {wp = {d = 0x0, value = 0x0}} graphicsWidget = false widgetUnderMouse = true wasLeaveAfterRelease = true result = 255 #22 0x00007fc9f9ee8632 in QWidgetWindow::handleMouseEvent (this=0x22d6a90, event=0x7fff7c4b6510) at kernel/qwidgetwindow.cpp:505 translated = { = { = {_vptr.QEvent = 0x7fc9f8bce8d0, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7fc9f9cf4b60, data = 0x7fc9f99e7f20, static_metacall = 0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 2, posted = 0, spont = 1, m_accept = 1, reserved = 0}, modState = {i = 0}, ts = 13132667}, l = {xp = 74, yp = 13}, w = {xp = 74, yp = 33}, s = {xp = 76, yp = 56}, b = Qt::LeftButton, mouseState = {i = 1}, caps = 0, velocity = {xp = 0, yp = 0}} contextMenuTrigger = QEvent::MouseButtonPress widget = 0x2366b70 mapped = {xp = 74, yp = 13} receiver = 0x2366b70 #23 0x00007fc9f9ee7493 in QWidgetWindow::event (this=0x22d6a90, event=0x7fff7c4b6510) at kernel/qwidgetwindow.cpp:179 No locals. #24 0x00007fc9f9e70c32 in QApplicationPrivate::notify_helper (this=0x227dea0, receiver=0x22d6a90, e=0x7fff7c4b6510) at kernel/qapplication.cpp:3491 consumed = false #25 0x00007fc9f9e6e40b in QApplication::notify (this=0x7fff7c4b6a50, receiver=0x22d6a90, e=0x7fff7c4b6510) at kernel/qapplication.cpp:2944 d = 0x227dea0 __PRETTY_FUNCTION__ = "virtual bool QApplication::notify(QObject*, QEvent*)" res = false #26 0x00007fc9f97f8254 in QCoreApplication::notifyInternal (this=0x7fff7c4b6a50, receiver=0x22d6a90, event=0x7fff7c4b6510) at kernel/qcoreapplication.cpp:935 threadData = 0x227e000 loopLevelCounter = {threadData = 0x227e000} result = false cbdata = {0x22d6a90, 0x7fff7c4b6510, 0x7fff7c4b647f} d = 0x22d7dc0 #27 0x00007fc9f84a9be7 in QCoreApplication::sendSpontaneousEvent (receiver=0x22d6a90, event=0x7fff7c4b6510) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:240 No locals. #28 0x00007fc9f84a37a8 in QGuiApplicationPrivate::processMouseEvent (e=0x23eb170) at kernel/qguiapplication.cpp:1701 type = QEvent::MouseButtonPress stateChange = {i = 1} window = 0x22d6a90 globalPoint = {xp = 76, yp = 56} button = Qt::LeftButton doubleClick = false localPoint = {xp = 74, yp = 33} frameStrut = false ev = { = { = {_vptr.QEvent = 0x7fc9f8bce8d0, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7fc9f9cf4b60, data = 0x7fc9f99e7f20, static_metacall = 0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0, t = 2, posted = 0, spont = 1, m_accept = 1, reserved = 69}, modState = {i = 0}, ts = 13132667}, l = {xp = 74, yp = 33}, w = {xp = 74, yp = 33}, s = {xp = 76, yp = 56}, b = Qt::LeftButton, mouseState = {i = 1}, caps = 0, velocity = {xp = 0, yp = 0}} #29 0x00007fc9f84a2e06 in QGuiApplicationPrivate::processWindowSystemEvent (e=0x23eb170) at kernel/qguiapplication.cpp:1502 __PRETTY_FUNCTION__ = "static void QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)" #30 0x00007fc9f848d01d in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:579 event = 0x23eb170 nevents = 2 #31 0x00007fc9f3aef713 in QUnixEventDispatcherQPA::processEvents (this=0x22a8260, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:71 didSendEvents = true #32 0x00007fc9f97f4df4 in QEventLoop::processEvents (this=0x7fff7c4b6990, flags=...) at kernel/qeventloop.cpp:136 d = 0x23865b0 #33 0x00007fc9f97f50cd in QEventLoop::exec (this=0x7fff7c4b6990, flags=...) at kernel/qeventloop.cpp:212 locker = {val = 36167920} __PRETTY_FUNCTION__ = "int QEventLoop::exec(QEventLoop::ProcessEventsFlags)" ref = {d = 0x23865b0, locker = @0x7fff7c4b68f0, exceptionCaught = true} app = 0x7fff7c4b6a50 d = 0x23865b0 #34 0x00007fc9f97f891d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188 threadData = 0x227e000 __PRETTY_FUNCTION__ = "static int QCoreApplication::exec()" eventLoop = { = {_vptr.QObject = 0x7fc9f9cdc4d0, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7fc9f9ce3140, data = 0x7fc9f9995fc0, static_metacall = 0x7fc9f983dc02 , relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x23865b0}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7fc9f9ce3b60, data = 0x7fc9f99e2100, static_metacall = 0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7fc9f9cd8da0, stringdata = 0x7fc9f9cf48e0, data = 0x7fc9f99e7ca0, static_metacall = 0x7fc9f98c9e18 , relatedMetaObjects = 0x0, extradata = 0x0}}} returnCode = 0 #35 0x00007fc9f84a2baa in QGuiApplication::exec () at kernel/qguiapplication.cpp:1436 No locals. #36 0x00007fc9f9e6dc47 in QApplication::exec () at kernel/qapplication.cpp:2736 No locals. #37 0x00000000004048dc in main (argc=1, argv=0x7fff7c4b6b88) at main.cpp:117 a = { = { = { = {_vptr.QObject = 0x7fc9fa6684d0, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7fc9f9ce3140, data = 0x7fc9f9995fc0, static_metacall = 0x7fc9f983dc02 , relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x227dea0}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7fc9f9ce3b60, data = 0x7fc9f99e2100, static_metacall = 0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7fc9f9cd8da0, stringdata = 0x7fc9f9cf4940, data = 0x7fc9f99e7dc0, static_metacall = 0x7fc9f98c9f70 , relatedMetaObjects = 0x0, extradata = 0x0}}, static self = 0x7fff7c4b6a50}, static staticMetaObject = {d = {superdata = 0x7fc9f9cdc560, stringdata = 0x7fc9f8bdaa20, data = 0x7fc9f88877a0, static_metacall = 0x7fc9f84a8b88 , relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7fc9f8bcdf00, stringdata = 0x7fc9fa694840, data = 0x7fc9fa2bba60, static_metacall = 0x7fc9f9e72148 , relatedMetaObjects = 0x0, extradata = 0x0}}} args = {> = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x229ed90}, d = 0x229ed90}}, } m = { = { = { = {_vptr.QObject = 0x6078f0, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7fc9f9ce3140, data = 0x7fc9f9995fc0, static_metacall = 0x7fc9f983dc02 , relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x22ac9e0}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7fc9f9ce3b60, data = 0x7fc9f99e2100, static_metacall = 0, relatedMetaObjects = 0x0, extradata = 0x0}}}, = {_vptr.QPaintDevice = 0x607aa8, painters = 0, reserved = 0x0}, static staticMetaObject = {d = {superdata = 0x7fc9f9cd8da0, stringdata = 0x7fc9fa694d00, data = 0x7fc9fa2c1680, static_metacall = 0x7fc9f9ec255a , relatedMetaObjects = 0x0, extradata = 0x0}}, data = 0x22acb10}, static staticMetaObject = {d = {superdata = 0x7fc9fa669160, stringdata = 0x7fc9fa6ac320, data = 0x7fc9fa363dc0, static_metacall = 0x7fc9fa2aee94 , relatedMetaObjects = 0x7fc9fa687450, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7fc9fa687420, stringdata = 0x405b40, data = 0x405bc0, static_metacall = 0x404984 , relatedMetaObjects = 0x0, extradata = 0x0}}, number = 2}