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

A exclusive global mouse grabber can be dangerous and causing crash

    XMLWordPrintable

Details

    • Windows
    • 706ebe7c4d654a4a341940c908c5d0cd8b817719

    Description

      In function QQuickDeliveryAgentPrivate::onGrabChanged(), the following call:

      auto grabberItem = static_cast<QQuickItem *>(grabber);

      can cause crash when one tries to have a global exclusive mouse grabber, i.e.., with setExclusivePointGrabber. The reason is that grabber can be a QObject here and static_cast<QQuickItem *> cannot process it correctly.

      Attachments

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

        Activity

          People

            vhilshei Volker Hilsheimer
            luqiaochen Luqiao Chen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes