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

QGraphicsSceneFindItemBspTreeVisitor crashes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.6.0
    • 4.5.3, 4.6.0
    • Widgets: GraphicsView
    • None

    Description

      Steps to reproduce / test case:

      • Create QWidget with a QGraphicsView and Scene
      • Add small boxes (custom QGraphicsItem widget) (I do about 800 at a time) until I have approximately 20k items
      • Catch a key press event in the parent QWidget which calls a delete routine that removes approximately 800 graphicsitems at once.
      • Hold down key so it runs VERY quickly and possibly get the crash:

      More information:

      if (!item->d_func()->itemDiscovered && item->isVisible()) {

      in the titles function is where it crashes.

      Attachments

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

        Activity

          People

            lscunha Leonardo Sobral Cunha (Inactive)
            sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes