Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.14.1
-
None
Description
#include <afxwin.h> #include <QMfcApp> #include <QDebug> #include <QScopeGuard> #include <QWidget> class Application : public CWinApp { public: int Run() override { QMfcApp::instance(this); QMfcApp::setQuitOnLastWindowClosed(true); auto deleter = qScopeGuard([] { delete qApp; }); QWidget window; window.show(); return QMfcApp::run(this); } BOOL OnIdle(LONG count) override { qDebug() << "idle"; return CWinApp::OnIdle(count); } }; Application application;
(QMfcApp is a class from the Qt Solutions.)
With Qt 5.13 there is a plenty of OnIdle calls.
With Qt 5.14 you have to resize the window or open its system menu to get some of those.
I can see that now the message queue almost always has a WM_QT_SENDPOSTEDEVENTS in it, so PeekMessage succeeds and OnIdle is not called.
Attachments
Issue Links
- relates to
-
QTBUG-82701 Windows 7: Strange processing pause when QToolTip is first shown
- Closed