Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.13
-
None
-
-
ed70faf87 (dev), bb5134726 (6.7)
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
For Gerrit Dashboard: QTBUG-124783 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
560185,1 | QCoreApplication: make removeNativeEventFilter() remove from main thread | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: NEW | +2 | 0 |