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

Crash when using beginMoveRows/endMoveRows in QAbstractListModel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • 6.0
    • 1.1.0
    • PySide
    • Win7, Python 2.7

    Description

      Using beginMoveRows and endMoveRows in a custom QAbstractListModel leads to a crash, but only when moving items down, not up.

      I've attached a repro case for it. When I run it, it prints:

      move 1->0
      done
      move 0->1

      This application has requested the Runtime to terminate it in an unusual way.
      Please contact the application's support team for more information.

      Attachments

        1. crash2.py
          1 kB
          Stefan
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            stefan_d Stefan
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes