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

Crash when using beginMoveRows/endMoveRows in QAbstractListModel

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Invalid
    • Affects Version/s: 1.1.0, dev
    • Fix Version/s: dev
    • Component/s: PySide
    • Labels:
    • Environment:
      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

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

          Activity

            People

            Assignee:
            crmaurei Cristian Maureira-Fredes
            Reporter:
            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