Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.13
-
None
Description
inconsistency between QCoreApplication:installNativeEventFilter and QCoreApplication:removeNativeEventFilter.
InstallNativeEventFilter requests an instance of QAbstractEventDispatcher with: QAbstractEventDispatcher::instance(QCoreApplicationPrivate::theMainThread.loadAcquire());
RemoveNativeEventFilter requests the instance without MainThread parameter.
This results in a leak / filter is not removed, if the RemoveNativeEventFilter is called from a thread other than the MainThread.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-124783 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
557896,2 | QCoreApplication: make removeNativeEventFilter() remove from main thread | dev | qt/qtbase | Status: NEW | 0 | 0 |