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

Crash when cloning QGraphicsSceneEvent (not implemented)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.8.1
    • Widgets: GraphicsView
    • None
    • All

      When using QGraphicsSceneEvent in conjunction with QStateMachine, where
      QStateMachine::WrappedEvent holds a cloned copy of an event (created by QEvent::clone()), crashes occur when accessing something that uses the d-ptr of the QGraphicsSceneEvent classes, fex QGraphicsSceneMouseEvent::buttons().

      Steps to reproduce:

      • Launch attached example
      • Click within red frame
      • observe crash

        1. qtbug131944.zip
          1 kB
          Friedemann Kleint
        2. qtbug131944_stack.txt
          63 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            kleint Friedemann Kleint
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes