Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-78491

Windows/Mingw: QEventDispatcherWin32 special posted events delivery timer runs forever

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.12.6, 5.13.2, 5.14.0 Beta 1
    • 5.12.4
    • Core: Event loop
    • None
    • windows 10, mingw64
    • Windows
    • d35de9e1b250ce46739dcb6afb9ae8a0247195c7 (qt/qtbase/5.13) cb90cdbd65f960e31b0024503fdea58d358f76fd (qt/qtbase/5.12)

    Description

      The "special timer to continue delivering posted events while there are still input and timer messages in the message queue" once triggered, runs forever. Looks like it is the result of the widening conversion to int64, which is the type of the timer id parameter taken by KillTimer. The timer's original id, used at creation time, is SendPostedEventsWindowsTimerId(~1u), whereas at destruction time the member variable sendPostedEventsWindowsTimerId, an int, is used.

      Attachments

        Issue Links

          Activity

            People

              kleint Friedemann Kleint
              dannix Daniel
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: