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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.12.4
    • Fix Version/s: 5.12.6, 5.13.2, 5.14.0 Beta 1
    • Component/s: Core: Event loop
    • Labels:
      None
    • Environment:
      windows 10, mingw64
    • Platform/s:
      Windows
    • Commits:
      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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              kleint Friedemann Kleint
              Reporter:
              dannix Daniel
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes