Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-252

scene.removeItem bug when removing item ItemStacksBehindParent flag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • None
    • 1.1.2
    • PySide
    • None
    • Ubuntu 13.04

      Using an instantiable subclass of QGraphicsItem and uncommenting the commented line generates the following error :
      QGraphicsScene::removeItem: item 0x1c6a380's scene (0x0) is different from this scene (0x1ba4c90)

      path = QGraphicsPathItem()
      text = QGraphicsPathItem(path)
      #~ text.setFlag(QGraphicsItem.ItemStacksBehindParent)
      window.scene().addItem(path)
      for item in window.scene().items():
        window.scene().removeItem(item)
      

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

            Unassigned Unassigned
            pouzzler Sébastien Magnien
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes