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

Subsequent QMouseEvents or QHoverEvents constructed overwrite data of prior instances

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.0, 6.2, 6.5.2
    • Core: Event loop
    • None
    • All

    Description

      When constructing multiple QSinglePointEvent derived objects, subsequent event objects overwrite the scenePosition and globalPosition of prior event objects. This appears to be because the data appears to be shared in QMutableEventPoint.

      See QSinglePointEvent constructor.

      Attached is a simple reproducer app.

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            kkyzivat Keith Kyzivat
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes