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

Unix/BlackBerry GUI event dispatchers process more than queued events

    XMLWordPrintable

    Details

      Description

      The following test fails with the QPA Unix ED (and presumably the BlackBerry GUI ED as well):

      https://gist.github.com/torarnv/6551697

      The issue is that both QWindowSystemInterface::sendWindowSystemEvents()
      and the base-class QEventDispatcherUNIX::processEvents() ends up doing QCoreApplication::sendPostedEvents();

      sendPostedEvents internally has guards for only processing queued events, but that doesn't help when we call it twice. Ideas on how to solve it?

      Something like this?

      https://gist.github.com/torarnv/6551843

      tor arne

        Attachments

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

          Activity

            People

            Assignee:
            vestbo Tor Arne Vestbø
            Reporter:
            vestbo Tor Arne Vestbø
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes