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

crash when try to drag a listwidget item and drop it to itself

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.6.1
    • 4.6.0
    • Widgets: Itemviews
    • None
    • qt 4.6.0(and rc1)/ vs 2005
    • 9a45e1853374c735dc08bf2e23b9d820900b1ccb

    Description

      Steps (easy to do in designer):

      • add some items into QListWidget
      • set dragEnabled to true
      • set drag and drop mode to InternalMove
      • try to drag the item and drop it into itself ( or into the listwidget)
      • sometimes it causes assert.

      It's tricky to get the assert, not able to reproduce the problem all the time.

      It seems that the assert happens here:
      void QAbstractItemModel::endMoveRows()
      {
      Q_D(QAbstractItemModel);
      QAbstractItemModelPrivate::Change insertChange = d->changes.pop();// ASSERT
      ...
      }

      Attachments

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

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes